mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-29 04:04:51 +02:00
Add locale to encrypted appointment data
This commit is contained in:
@@ -74,6 +74,7 @@ export interface AppointmentData {
|
||||
email: string;
|
||||
shareEmail: boolean;
|
||||
phone?: string;
|
||||
locale?: string;
|
||||
}
|
||||
|
||||
interface StaffPublicKey {
|
||||
|
||||
@@ -44,6 +44,7 @@ export type TPublicAppointment = {
|
||||
shareEmail: boolean;
|
||||
email: string;
|
||||
phone?: string;
|
||||
locale: string;
|
||||
};
|
||||
isNewClient?: boolean;
|
||||
};
|
||||
|
||||
+1
@@ -43,6 +43,7 @@
|
||||
shareEmail: validation.data.shareEmail,
|
||||
email: validation.data.email,
|
||||
phone: validation.data.phone,
|
||||
locale: navigator.language || "en",
|
||||
},
|
||||
});
|
||||
cancel();
|
||||
|
||||
Reference in New Issue
Block a user