Services/shows: add sending show functionally

This commit is contained in:
Toast 2025-01-30 09:38:50 +01:00
parent b92e54beab
commit 35ce571079

View file

@ -19,4 +19,8 @@ export class ShowsApiService {
getShows(): Observable<ShowsApiResponse> {
return this.http.get<ShowsApiResponse>(this.showsEndpoint)
}
sendShow(newShow: {}) {
return this.http.post(this.showsEndpoint, newShow)
}
}