Commit ad15c0cb by borland Committed by GitHub

Update user.go

parent 57a24bed
...@@ -107,7 +107,7 @@ func SearchUsers(keyword string, group string) ([]*User, error) { ...@@ -107,7 +107,7 @@ func SearchUsers(keyword string, group string) ([]*User, error) {
return users, err return users, err
} }
} }
err = nil err = nil
query := DB.Unscoped().Omit("password") query := DB.Unscoped().Omit("password")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment