Skip to content

Commit

Permalink
fix: add slash on non-resource routes
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolagobat committed Oct 25, 2023
1 parent 7fe4c09 commit 0578a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/app/services/refuge/refuge.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class RefugeService {
}

private getAllRefugesEndpoint(): string {
return `${environment.API}/refuges`;
return `${environment.API}/refuges/`;
}

private getRefugeFromApi(id: string): Observable<GetRefugeResponse> {
Expand Down Expand Up @@ -182,7 +182,7 @@ export class RefugeService {
}

private createRefugeEndpoint(): string {
return `${environment.API}/refuges`;
return `${environment.API}/refuges/`;
}

updateRefuge(refuge: UpdateRefuge): Observable<UpdateRefugeResponse> {
Expand Down

0 comments on commit 0578a90

Please sign in to comment.