userflow_fix

This commit is contained in:
2025-10-15 15:13:53 +02:00
parent 1db1776217
commit a5dd9003c1
5 changed files with 28 additions and 10 deletions
+10
View File
@@ -73,3 +73,13 @@ export const verifyEmail = async (token) => {
throw error
}
}
// Get current user's game statistics
export const getUserStats = async () => {
try {
const response = await apiClient.get("/users/me/stats")
return response.data
} catch (error) {
throw error
}
}