cache
This commit is contained in:
2
internal/rpc/cache/cache.go
vendored
2
internal/rpc/cache/cache.go
vendored
@@ -134,7 +134,7 @@ func updateAllBlackListToCache(userList []db.User) error {
|
||||
log.NewError("", utils.GetSelfFuncName(), err.Error())
|
||||
continue
|
||||
}
|
||||
if err := db.DB.AddBlackUserToCache(user.UserID, blackIDList); err != nil {
|
||||
if err := db.DB.AddBlackUserToCache(user.UserID, blackIDList...); err != nil {
|
||||
log.NewError("0", utils.GetSelfFuncName(), err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user