mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 18:23:45 +08:00
return at least one chat role for getUserRoles API
This commit is contained in:
@@ -269,7 +269,7 @@ func (h *UserHandler) Remove(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
resp.ERROR(c, "删除失败")
|
||||
resp.ERROR(c, err.Error())
|
||||
tx.Rollback()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user