Skip to content

Commit

Permalink
Merge pull request #21 from bcgov/feat/change-support-network-endpoint
Browse files Browse the repository at this point in the history
Feat/change support network endpoint name
  • Loading branch information
hannah-macdonald1 authored Nov 5, 2024
2 parents d736b2a + 3eae9ee commit 1857501
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/cases/cases.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class CasesController {
constructor(private readonly casesService: CasesService) {}

@UseInterceptors(ClassSerializerInterceptor)
@Get(':id/supportnetwork')
@Get(':id/support-network')
@ApiOperation({
description:
'Find all Support Network entries related to a given Case entity by Case id.',
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/incidents/incidents.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class IncidentsController {
constructor(private readonly incidentsService: IncidentsService) {}

@UseInterceptors(ClassSerializerInterceptor)
@Get(':id/supportnetwork')
@Get(':id/support-network')
@ApiOperation({
description:
'Find all Support Network entries related to a given Incident entity by Incident id.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class ServiceRequestsController {
constructor(private readonly serviceRequestService: ServiceRequestsService) {}

@UseInterceptors(ClassSerializerInterceptor)
@Get(':id/supportnetwork')
@Get(':id/support-network')
@ApiOperation({
description:
'Find all Support Network entries related to a given Service Request entity by Service Request id.',
Expand Down

0 comments on commit 1857501

Please sign in to comment.