We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fbfdb2 commit 1bdfb94Copy full SHA for 1bdfb94
routers/web/user/setting/oauth2_common.go
@@ -95,7 +95,7 @@ func (oa *OAuth2CommonHandlers) EditSave(ctx *context.Context) {
95
form := web.GetForm(ctx).(*forms.EditOAuth2ApplicationForm)
96
97
if ctx.HasError() {
98
- app, err := auth.GetOAuth2ApplicationByID(ctx, ctx.ParamsInt64("id"))
+ app, err := auth.GetOAuth2ApplicationByID(ctx, ctx.PathParamInt64("id"))
99
if err != nil {
100
if auth.IsErrOAuthApplicationNotFound(err) {
101
ctx.NotFound("Application not found", err)
0 commit comments