Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: add logs (#1092)

authored by

Maximilian Kaske and committed by
GitHub
952fcf30 694eb45f

+3
+1
apps/web/src/components/forms/monitor/form.tsx
··· 111 111 112 112 const handleDataUpdateOrInsertion = async (props: InsertMonitor) => { 113 113 if (defaultValues) { 114 + console.log(props); 114 115 await api.monitor.update.mutate(props); 115 116 } else { 116 117 await api.monitor.create.mutate(props);
+2
packages/api/src/router/monitor.ts
··· 337 337 .returning() 338 338 .get(); 339 339 340 + console.log({ currentMonitor }); 341 + 340 342 const currentMonitorNotifications = await opts.ctx.db 341 343 .select() 342 344 .from(notificationsToMonitors)