Browse Source

fix: update csv download permission name

re #1662

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1668/head
Pranav C 3 years ago
parent
commit
a81d975f18
  1. 4
      packages/nocodb/src/lib/noco/meta/api/dataApis/dataAliasExportApis.ts

4
packages/nocodb/src/lib/noco/meta/api/dataApis/dataAliasExportApis.ts

@ -23,11 +23,11 @@ const router = Router({ mergeParams: true });
router.get(
'/api/v1/db/data/:orgs/:projectName/:tableName/export/csv',
ncMetaAclMw(csvDataExport, 'csvDataExport')
ncMetaAclMw(csvDataExport, 'exportCsv')
);
router.get(
'/api/v1/db/data/:orgs/:projectName/:tableName/views/:viewName/export/csv',
ncMetaAclMw(csvDataExport, 'csvDataExport')
ncMetaAclMw(csvDataExport, 'exportCsv')
);
export default router;

Loading…
Cancel
Save