fix: improvement access data
This commit is contained in:
@@ -28,7 +28,7 @@ func GetProfile(
|
||||
return
|
||||
}
|
||||
|
||||
staffProfile, err := authSvc.GetProfile(destructedToken.Email)
|
||||
staffProfile, err := authSvc.GetProfile(destructedToken.ID)
|
||||
if err != nil {
|
||||
response.ResponseWithErrorCode(
|
||||
ctx,
|
||||
|
||||
Reference in New Issue
Block a user