Skip to content

Commit 15b094a

Browse files
Update apps/api/src/instrument-records/instrument-records.controller.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 8aae222 commit 15b094a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/instrument-records/instrument-records.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class InstrumentRecordsController {
8484

8585
@ApiOperation({ summary: 'Update Instrument Record' })
8686
@Patch(':id')
87-
@RouteAccess({ action: 'delete', subject: 'InstrumentRecord' })
87+
@RouteAccess({ action: 'update', subject: 'InstrumentRecord' })
8888
updateById(
8989
@Param('id', ValidObjectIdPipe) id: string,
9090
@Body() { data }: $UpdateInstrumentRecordData,

0 commit comments

Comments
 (0)