Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/api/src/modules/ical/ical.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ export class IcalController {
}

@Get('feeds')
@Roles('admin')
@Roles('admin', 'revenue_manager')
@ApiOperation({ summary: 'List iCal feeds for a property' })
listFeeds(@Query() dto: ListIcalFeedsDto) {
return this.icalService.list(dto);
}

@Get('feeds/:id')
@Roles('admin')
@Roles('admin', 'revenue_manager')
@ApiOperation({ summary: 'Get an iCal feed' })
@ApiQuery({ name: 'propertyId', required: true })
getFeed(
Expand Down Expand Up @@ -94,7 +94,7 @@ export class IcalController {
}

@Post('feeds/:id/sync')
@Roles('admin')
@Roles('admin', 'revenue_manager')
@ApiOperation({ summary: 'Fetch an import feed and replace its busy blocks' })
@ApiQuery({ name: 'propertyId', required: true })
syncFeed(
Expand Down
Loading