Skip to content

Commit 1bdfb94

Browse files
committed
fix: update for main
1 parent 3fbfdb2 commit 1bdfb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/user/setting/oauth2_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (oa *OAuth2CommonHandlers) EditSave(ctx *context.Context) {
9595
form := web.GetForm(ctx).(*forms.EditOAuth2ApplicationForm)
9696

9797
if ctx.HasError() {
98-
app, err := auth.GetOAuth2ApplicationByID(ctx, ctx.ParamsInt64("id"))
98+
app, err := auth.GetOAuth2ApplicationByID(ctx, ctx.PathParamInt64("id"))
9999
if err != nil {
100100
if auth.IsErrOAuthApplicationNotFound(err) {
101101
ctx.NotFound("Application not found", err)

0 commit comments

Comments
 (0)