(userId int, setting string)
| 211 | } |
| 212 | |
| 213 | func updateUserSettingCache(userId int, setting string) error { |
| 214 | if !common.RedisEnabled { |
| 215 | return nil |
| 216 | } |
| 217 | return common.RedisHSetField(getUserCacheKey(userId), "Setting", setting) |
| 218 | } |
no test coverage detected