fix: improvement access data

This commit is contained in:
ericprd
2025-03-14 13:00:12 +08:00
parent 11bc19360c
commit ee8e8e140d
7 changed files with 10 additions and 36 deletions
+1 -1
View File
@@ -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,