fix: meeting link is not updated and broken ui in edit location dialog (#15503)

* fix: meeting link is not updated

* fix: broken ui in edit location dialog

* Update editLocation.handler.ts

---------

Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
Anik Dhabal BabuandKeith Williams authored and GitHub committed 2024-07-31 19:05:20 +00:00
1 parent c656063b06
commit 9ffa4b8477
3 files changed
+11 -1

No files matched your search

@@ -118,6 +118,12 @@ export const editLocationHandler = async ({ ctx, input }: EditLocationOptions) =
},
data: {
location,
metadata: location.startsWith("http")
? {
...(typeof booking.metadata === "object" ? booking.metadata : {}),
videoCallUrl: location,
}
: {},
references: {
create: updatedResult.referencesToCreate,
},