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