aa
This commit is contained in:
@@ -662,7 +662,7 @@ func UpdateUser(ctx *jxcontext.Context, payload map[string]interface{}) (err err
|
||||
}
|
||||
dao.Commit(db)
|
||||
}
|
||||
if payload["popUser"] != "" {
|
||||
if payload["popUser"] != nil {
|
||||
user2, err2 := dao.GetUserByID(db, "user_id", payload["popUser"].(string))
|
||||
err = err2
|
||||
if user2 != nil {
|
||||
|
||||
Reference in New Issue
Block a user