Interfaces/shows-api: rename shows-api-deletion to shows-api-deletion-edit

This commit is contained in:
Toast 2025-02-06 10:36:16 +01:00
parent d9c96be8c4
commit 6461855175
5 changed files with 10 additions and 9 deletions

View file

@ -4,7 +4,7 @@ import {Observable} from 'rxjs';
import {ShowsApiResponse} from '../../interfaces/shows-api-response';
import {ShowsApiCreation} from '../../interfaces/shows-api-creation';
import {ShowsApiIdResponse} from '../../interfaces/shows-api-id-response';
import {ShowsApiDeletion} from '../../interfaces/shows-api-deletion';
import {ShowsApiDeletionEdit} from '../../interfaces/shows-api-deletion-edit';
import {Show} from '../../interfaces/show';
@Injectable({
@ -32,7 +32,7 @@ export class ShowsApiService {
return this.http.post<ShowsApiCreation>(this.showsEndpoint, newShow)
}
deleteShw(id: string): Observable<ShowsApiDeletion> {
return this.http.delete<ShowsApiDeletion>(this.showsEndpoint + "id/" + id)
deleteShw(id: string): Observable<ShowsApiDeletionEdit> {
return this.http.delete<ShowsApiDeletionEdit>(this.showsEndpoint + "id/" + id)
}
}