fix
This commit is contained in:
parent
ac834fa299
commit
9ecb04c98b
|
@ -21,7 +21,6 @@ func GetUserState(UserId int64, gdb *gorm.DB) (us *UserState, err error) {
|
|||
models := gmodel.NewAllModels(gdb)
|
||||
user, err := models.FsUser.FindUserById(context.TODO(), UserId)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user