Browse Source

fix(web): include missing api call for checking current user

pull/8/head
isra el 2 years ago
parent
commit
583a5b8ad6
  1. 5
      web/services/authService.ts

5
web/services/authService.ts

@ -45,6 +45,11 @@ class AuthService {
})
return res.data.data
}
async whoAmI() {
const res = await httpClient.get(`/auth/who-am-i`)
return res.data.data
}
}
export const authService = new AuthService()
Loading…
Cancel
Save