Browse Source

refactor: allow only one token per user

pull/6594/head
Pranav C 1 year ago
parent
commit
dfb677edd3
  1. 2
      packages/nocodb/src/services/org-tokens.service.ts

2
packages/nocodb/src/services/org-tokens.service.ts

@ -10,7 +10,7 @@ import { ApiToken } from '~/models';
@Injectable() @Injectable()
export class OrgTokensService { export class OrgTokensService {
constructor(private readonly appHooksService: AppHooksService) {} constructor(protected readonly appHooksService: AppHooksService) {}
async apiTokenList(param: { user: User; query: any }) { async apiTokenList(param: { user: User; query: any }) {
const fk_user_id = param.user.id; const fk_user_id = param.user.id;

Loading…
Cancel
Save