Only send single mail when booking zoom
This commit is contained in:
1 parent
a40a5c04fe
commit
7aff32fb50
3 files changed
+79
-43
No files matched your search
@@ -356,7 +356,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
await Promise.all([bookingReferenceDeletes, attendeeDeletes, bookingDeletes]);
|
||||
} else {
|
||||
// Use EventManager to conditionally use all needed integrations.
|
||||
const results: Array<EventResult> = await eventManager.create(evt);
|
||||
results = await eventManager.create(evt);
|
||||
|
||||
if (results.length > 0 && results.every((res) => !res.success)) {
|
||||
const error = {
|
||||
|
||||
Reference in new issue
Block a user