Skip to content

Commit

Permalink
Update routers/api/v1/org/team.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Feb 19, 2023
1 parent 19dca0f commit c405827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/org/team.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func EditTeam(ctx *context.APIContext) {

form := web.GetForm(ctx).(*api.EditTeamOption)
team := ctx.Org.Team
if err := team.LoadUnits(ctx.Context); err != nil {
if err := team.LoadUnits(ctx); err != nil {
ctx.InternalServerError(err)
return
}
Expand Down

0 comments on commit c405827

Please sign in to comment.