feat: integrate hospital management module with advanced UI styling and analytics components
This commit is contained in:
@@ -21,6 +21,10 @@ export const authApi = {
|
||||
return apiClient.post('/v1/auth/mfa/totp/verify', { totp_code: totpCode }, { token });
|
||||
},
|
||||
|
||||
getProfile: async (token: string): Promise<AuthUser> => {
|
||||
return apiClient.get('/v1/auth/me', { token });
|
||||
},
|
||||
|
||||
getAuditLogs: async (token: string, limit = 20, offset = 0) => {
|
||||
return apiClient.get(`/v1/auth/audit-logs?limit=${limit}&offset=${offset}`, { token });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user