chore: update
This commit is contained in:
@@ -381,7 +381,8 @@ export const confirmReception = async (
|
||||
return {
|
||||
success: true,
|
||||
message: "Commande confirmée avec succès",
|
||||
points_earned: data.points_earned || 10,
|
||||
points_earned: data.points_earned || 0,
|
||||
category: data.category,
|
||||
data,
|
||||
};
|
||||
} catch (error: any) {
|
||||
|
||||
@@ -769,8 +769,9 @@ export interface ConfirmReceptionResponse {
|
||||
success: boolean;
|
||||
message: string;
|
||||
points_earned?: number;
|
||||
category?: string; // 'total', 'zipette&co', 'weed&hash', 'mixed'
|
||||
data?: {
|
||||
category?: string; // ✅ Catégorie de points ('zipette&co', 'weed&hash', etc.)
|
||||
category?: string;
|
||||
points_earned?: number;
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user