Skip to content

Commit 27939f6

Browse files
remove console.log statements
1 parent 3f92e12 commit 27939f6

File tree

1 file changed

+0
-4
lines changed
  • typescript-audit-logs-example/routes

1 file changed

+0
-4
lines changed

typescript-audit-logs-example/routes/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ router.post('/send_event', async (req: any, res:any) => {
5959
session.orgId || 'org_01G2TKRPR28XB702EF71EA8BY6',
6060
event
6161
)
62-
63-
console.log(event)
6462
})
6563

6664
router.get('/export_events', (req: any, res: any) => {
@@ -81,15 +79,13 @@ router.get('/generate_csv', async (req: any, res: any) => {
8179
})
8280

8381
session.exportId = auditLogExport.id
84-
console.log(auditLogExport)
8582
})
8683

8784
router.get('/access_csv', async (req: any, res: any) => {
8885
const auditLogExport = await workos.auditLogs.getExport(
8986
session.exportId,
9087
)
9188

92-
console.log(auditLogExport.url)
9389
openIt(auditLogExport.url)
9490
})
9591

0 commit comments

Comments
 (0)