Skip to content

Commit

Permalink
role write
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Jan 14, 2025
1 parent 59bdaf4 commit 434e0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/measurements.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MeasurementsController {

constructor(private readonly measurementsService: MeasurementsService) {}

@Roles(Role.Read)
@Roles(Role.Read, Role.Write)
@Get()
async getMeasurements(
@Query() query: MeasurementsRequestModel,
Expand Down

0 comments on commit 434e0f3

Please sign in to comment.