diff --git a/server/info/internal/logic/infologic.go b/server/info/internal/logic/infologic.go index 385860f4..2fec4e99 100644 --- a/server/info/internal/logic/infologic.go +++ b/server/info/internal/logic/infologic.go @@ -128,7 +128,8 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r } } - err := raw.Scan(&info).Error + var a any + err := raw.Scan(&a).Error if err == gorm.ErrRecordNotFound { continue }