This commit is contained in:
Buus committed 2025-10-24 21:06:18 +02:00
1 parent 8960bd9dce
commit d90f92c91c
3 files changed
+104

No files matched your search

+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;
}
};