Refactor web route handler (#33488)
This commit is contained in:
parent
d0f4e92563
commit
09a3b07f10
8 changed files with 279 additions and 293 deletions
|
@ -34,7 +34,7 @@ func Home(ctx *context.Context) {
|
|||
}
|
||||
|
||||
ctx.SetPathParam("org", uname)
|
||||
context.HandleOrgAssignment(ctx)
|
||||
context.OrgAssignment(context.OrgAssignmentOptions{})(ctx)
|
||||
if ctx.Written() {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue