This commit is contained in:
2025-10-24 21:06:18 +02:00
parent 8960bd9dce
commit d90f92c91c
3 changed files with 104 additions and 0 deletions
+13
View File
@@ -45,3 +45,16 @@ export const getUserStats = async () => {
throw error
}
}
// Email verification - POST
export const verifyEmail = async (token) => {
try {
const response = await apiClient.post(`/users/verify-email/${token}`);
return response;
} catch (error) {
throw error;
}
};