Add locale to encrypted appointment data

This commit is contained in:
Hendrik Belitz
2026-02-02 13:50:33 +01:00
parent fe5309bfa0
commit 1f34ea6f72
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@ export interface AppointmentData {
email: string;
shareEmail: boolean;
phone?: string;
locale?: string;
}
interface StaffPublicKey {
+1
View File
@@ -44,6 +44,7 @@ export type TPublicAppointment = {
shareEmail: boolean;
email: string;
phone?: string;
locale: string;
};
isNewClient?: boolean;
};
@@ -43,6 +43,7 @@
shareEmail: validation.data.shareEmail,
email: validation.data.email,
phone: validation.data.phone,
locale: navigator.language || "en",
},
});
cancel();