Browse Source

feat: OldDatasController - dataRead

pull/5444/head
Wing-Kam Wong 2 years ago committed by Pranav C
parent
commit
6ccac5874c
  1. 6
      packages/nocodb-nest/src/modules/datas/old-datas/old-datas.controller.ts

6
packages/nocodb-nest/src/modules/datas/old-datas/old-datas.controller.ts

@ -44,4 +44,10 @@ export class OldDatasController {
async dataInsert(@Request() req, @Response() res) { async dataInsert(@Request() req, @Response() res) {
res.json(await this.oldDatasService.dataInsert(req)); res.json(await this.oldDatasService.dataInsert(req));
} }
@Get('/nc/:projectId/api/v1/:tableName/:rowId')
@Acl('dataRead')
async dataRead(@Request() req, @Response() res) {
res.json(await this.oldDatasService.dataRead(req));
}
} }

Loading…
Cancel
Save