Skip to content

Commit 89626e2

Browse files
committed
fix xrom update
1 parent 1132691 commit 89626e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/auth/oauth2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func UpdateOAuth2Application(opts UpdateOAuth2ApplicationOptions) (*OAuth2Applic
228228
}
229229

230230
func updateOAuth2Application(ctx context.Context, app *OAuth2Application) error {
231-
if _, err := db.GetEngine(ctx).ID(app.ID).UseBool("ConfidentialClient").Update(app); err != nil {
231+
if _, err := db.GetEngine(ctx).ID(app.ID).UseBool("confidential_client").Update(app); err != nil {
232232
return err
233233
}
234234
return nil

0 commit comments

Comments
 (0)