Skip to content

Commit

Permalink
update api sync endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Jan 9, 2024
1 parent a830708 commit 9eb7d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/endpoints/apps/apps.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ export class AppsController {
}

// TODO: @UseGuards(NativeAuthGuard)
@Get('/apps/sync')
@Get('/sync-apps')
@ApiResponse({ status: 200 })
async syncAll() {
await this.appService.syncApps()
}

// TODO: @UseGuards(NativeAuthGuard)
@Get('/apps/:appid/sync')
@Get('/apps/:appid/sync-delegations')
@ApiResponse({ status: 200 })
@ApiResponse({ status: 404 })
async sync(@Param('appid') appId: string) {
Expand Down

0 comments on commit 9eb7d87

Please sign in to comment.