diff options
Diffstat (limited to 'models/user/setting.go')
-rw-r--r-- | models/user/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user/setting.go b/models/user/setting.go index c5a3d482b5..5ff18f8265 100644 --- a/models/user/setting.go +++ b/models/user/setting.go @@ -76,7 +76,7 @@ func SetSetting(setting *Setting) error { return upsertSettingValue(setting.UserID, setting.SettingKey, setting.SettingValue) } -func upsertSettingValue(userID int64, key string, value string) error { +func upsertSettingValue(userID int64, key, value string) error { return db.WithTx(func(ctx context.Context) error { e := db.GetEngine(ctx) |