diff --git a/packages/nocodb/src/strategies/authtoken.strategy/authtoken.strategy.ts b/packages/nocodb/src/strategies/authtoken.strategy/authtoken.strategy.ts index f666ac1b10..83c4fd48cc 100644 --- a/packages/nocodb/src/strategies/authtoken.strategy/authtoken.strategy.ts +++ b/packages/nocodb/src/strategies/authtoken.strategy/authtoken.strategy.ts @@ -31,7 +31,7 @@ export class AuthTokenStrategy extends PassportStrategy(Strategy, 'authtoken') { const dbUser: Record = await User.getWithRoles( apiToken.fk_user_id, { - baseId: req['ncBaseId'], + baseId: req['ncProjectId'], ...(req['ncWorkspaceId'] ? { workspaceId: req['ncWorkspaceId'] } : {}),