Refactor web route handler (#33488)

This commit is contained in:
wxiaoguang 2025-02-05 02:14:03 +08:00 committed by GitHub
parent d0f4e92563
commit 09a3b07f10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 279 additions and 293 deletions

View file

@ -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
}