Feat - disable notes (#2249)
* Feat - disable notes Stops notes from showing in calendar when checked. * Removing index rename * Update apps/web/lib/integrations/calendar/interfaces/Calendar.ts Co-authored-by: Omar López <[email protected]> * Rename to hideCalendarNotes * Update schema.prisma * Update webhookResponse-chromium.txt Co-authored-by: Bailey Pumfleet <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: Bailey Pumfleet <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
7 files changed
+22
-9
No files matched your search
@@ -232,6 +232,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
currency: true,
|
||||
metadata: true,
|
||||
destinationCalendar: true,
|
||||
hideCalendarNotes: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -342,6 +343,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
location: reqBody.location, // Will be processed by the EventManager later.
|
||||
/** For team events, we will need to handle each member destinationCalendar eventually */
|
||||
destinationCalendar: eventType.destinationCalendar || users[0].destinationCalendar,
|
||||
hideCalendarNotes: eventType.hideCalendarNotes,
|
||||
};
|
||||
|
||||
if (eventType.schedulingType === SchedulingType.COLLECTIVE) {
|
||||
|
||||
Reference in new issue
Block a user