Skip to content

Commit b7c93e4

Browse files
committed
fix: use logger.warn for credential access denial in outlook folders route
1 parent 6ccc7b4 commit b7c93e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/app/api/tools/outlook/folders

apps/sim/app/api/tools/outlook/folders/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const GET = withRouteHandler(async (request: NextRequest) => {
4040
const sessionUserId = session?.user?.id || ''
4141

4242
if (!sessionUserId) {
43-
logger.error('No user ID found in session')
43+
logger.warn('No user ID found in session')
4444
return NextResponse.json({ error: 'Authentication required' }, { status: 401 })
4545
}
4646

0 commit comments

Comments
 (0)