Call setUSer

pull/31/head
Samuel Lippert 2022-08-12 14:58:16 -05:00
parent d56da11417
commit 1a01ae820a
No known key found for this signature in database
GPG Key ID: 3762857AF8948B2C
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Deno.test('Sentry Middleware', async () => {
app.use(
'/sentry/*',
sentry(undefined, (sentry) => {
sentry.captureMessage('foo')
sentry.setUser({ id: 'test' })
})
)
app.get('/sentry/foo', (c) => c.text('foo'))