diff --git a/src/services/shows/shows-api.service.ts b/src/services/shows/shows-api.service.ts index 937afc4..31235a6 100644 --- a/src/services/shows/shows-api.service.ts +++ b/src/services/shows/shows-api.service.ts @@ -35,4 +35,8 @@ export class ShowsApiService { deleteShw(id: string): Observable { return this.http.delete(this.showsEndpoint + "id/" + id) } + + updateShow(show: Show): Observable { + return this.http.put(this.showsEndpoint + "id/" + show._id, show) + } }