Skip to content

Commit c405827

Browse files
committed
Update routers/api/v1/org/team.go
1 parent 19dca0f commit c405827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/org/team.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func EditTeam(ctx *context.APIContext) {
256256

257257
form := web.GetForm(ctx).(*api.EditTeamOption)
258258
team := ctx.Org.Team
259-
if err := team.LoadUnits(ctx.Context); err != nil {
259+
if err := team.LoadUnits(ctx); err != nil {
260260
ctx.InternalServerError(err)
261261
return
262262
}

0 commit comments

Comments
 (0)