Skip to content

Commit

Permalink
Fix photos pointing to wrong endpoint
Browse files Browse the repository at this point in the history
Somehow didn't foresee this coming
  • Loading branch information
jvyden committed Nov 3, 2023
1 parent 92b49fc commit 5ec4f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/api-client.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class ApiClient {
}

public GetPhotoById(id: number) {
return this.makeRequest<Photo>("GET", "photos/" + id);
return this.makeRequest<Photo>("GET", "photos/id/" + id);
}

public GetNotifications(): Observable<ApiListResponse<RefreshNotification>> {
Expand Down

0 comments on commit 5ec4f6f

Please sign in to comment.