Skip to content

Commit 5e6cb8e

Browse files
committed
Reduce payload size
1 parent 3c1015c commit 5e6cb8e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/features/bookings/lib/handleNewBooking.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,11 @@ const buildDryRunBooking = ({
193193
isManagedEventType: boolean;
194194
}) => {
195195
const sanitizedOrganizerUser = {
196-
...organizerUser,
197-
credentials: undefined,
196+
id: organizerUser.id,
197+
name: organizerUser.name,
198+
username: organizerUser.username,
199+
email: organizerUser.email,
200+
timeZone: organizerUser.timeZone,
198201
};
199202
const booking = {
200203
id: -101,

0 commit comments

Comments
 (0)