Browse Source

fix: type correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6318/head
Pranav C 1 year ago
parent
commit
fda7c43073
  1. 2
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts
  2. 1
      packages/nocodb/src/services/views.service.ts

2
packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

@ -1744,7 +1744,7 @@ export class AtImportProcessor {
project_roles: { project_roles: {
owner: true, owner: true,
}, },
}, } as any,
}); });
recordPerfStats(_perfStart, 'dbView.list'); recordPerfStats(_perfStart, 'dbView.list');

1
packages/nocodb/src/services/views.service.ts

@ -70,6 +70,7 @@ export class ViewsService {
tableId: string; tableId: string;
user: { user: {
roles: Record<string, boolean>; roles: Record<string, boolean>;
project_roles: Record<string, boolean>;
}; };
}) { }) {
const model = await Model.get(param.tableId); const model = await Model.get(param.tableId);

Loading…
Cancel
Save