delete token expiration

This commit is contained in:
Romain Verger 2022-03-03 14:57:37 +01:00
parent d169ba120f
commit 1607634d17

View File

@ -59,12 +59,10 @@ export class ApiBackService {
addRestaurant(newRestau: Restaurant): Observable<any> {
return this.httpClient.post<any[]>(`${environment.apiUrl}/add-restaurant`, newRestau);
}
deleteRestau(idRestau: number | undefined): Observable<any> {
return this.httpClient.delete<Restaurant>(`${environment.apiUrl}/delete-restaurant/${idRestau}`);
}
getPersonneById(id: any) {