chore: build
Frontend Client - EAS Build / build (push) Failing after 2h9m57s
Frontend Admin - EAS Build / build (push) Failing after 2h24m0s

This commit is contained in:
Nuxgrid
2026-07-08 22:24:39 +02:00
parent 12a7facc45
commit f531ddcda8
3 changed files with 20 additions and 8 deletions
+4
View File
@@ -379,6 +379,8 @@ export const getMyStats = async (): Promise<{
by_day?: StatPoint[];
by_week?: StatPoint[];
by_month?: StatPoint[];
today_count?: number;
today_revenue?: number;
error?: string;
}> => {
try {
@@ -388,6 +390,8 @@ export const getMyStats = async (): Promise<{
by_day: data.by_day || [],
by_week: data.by_week || [],
by_month: data.by_month || [],
today_count: data.today_count || 0,
today_revenue: data.today_revenue || 0,
};
} catch (error: any) {
return { success: false, error: error.response?.data?.error || "Erreur réseau" };