feat: add reviews, notifications, notes and account hardening
This commit is contained in:
@@ -220,6 +220,9 @@ export const authApi = {
|
||||
async resetPassword(token: string, password: string) {
|
||||
return apiRequest<void>('/auth/reset-password', { method: 'POST', body: JSON.stringify({ token, password }) });
|
||||
},
|
||||
async forgotPassword(email: string) {
|
||||
return apiRequest<void>('/auth/forgot-password', { method: 'POST', body: JSON.stringify({ email }) });
|
||||
},
|
||||
};
|
||||
|
||||
export const adminApi = {
|
||||
|
||||
Reference in New Issue
Block a user