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 1132691 commit 89626e2Copy full SHA for 89626e2
models/auth/oauth2.go
@@ -228,7 +228,7 @@ func UpdateOAuth2Application(opts UpdateOAuth2ApplicationOptions) (*OAuth2Applic
228
}
229
230
func updateOAuth2Application(ctx context.Context, app *OAuth2Application) error {
231
- if _, err := db.GetEngine(ctx).ID(app.ID).UseBool("ConfidentialClient").Update(app); err != nil {
+ if _, err := db.GetEngine(ctx).ID(app.ID).UseBool("confidential_client").Update(app); err != nil {
232
return err
233
234
return nil
0 commit comments