Skip to content

Commit 163f32e

Browse files
committed
refactor: remove access logging from middleware
- Eliminated the console log statement that checked access for organizations in the middleware, streamlining the logging process and reducing unnecessary output.
1 parent 6a64fab commit 163f32e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/app/src/middleware.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ export async function middleware(request: NextRequest) {
110110

111111
const hasAccess = foundOrg?.hasAccess;
112112

113-
console.log(`[MIDDLEWARE] Checking access for org ${orgId}: ${hasAccess}`);
114-
115113
if (!hasAccess) {
116114
const url = new URL(`/upgrade/${orgId}`, request.url);
117115
// Preserve existing search params

0 commit comments

Comments
 (0)