fix: rename getresuser util

This commit is contained in:
Lakhan Samani
2021-12-24 06:35:02 +05:30
parent 30cde3e521
commit 1b3f931074
8 changed files with 8 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ func Session(ctx context.Context, roles []string) (*model.AuthResponse, error) {
Message: `Token verified`,
AccessToken: &token,
ExpiresAt: &expiresAt,
User: utils.GetResUser(user),
User: utils.GetResponseUserData(user),
}
return res, nil
}