delete token expiration
This commit is contained in:
parent
d169ba120f
commit
1607634d17
@ -59,12 +59,10 @@ export class ApiBackService {
|
|||||||
|
|
||||||
addRestaurant(newRestau: Restaurant): Observable<any> {
|
addRestaurant(newRestau: Restaurant): Observable<any> {
|
||||||
return this.httpClient.post<any[]>(`${environment.apiUrl}/add-restaurant`, newRestau);
|
return this.httpClient.post<any[]>(`${environment.apiUrl}/add-restaurant`, newRestau);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteRestau(idRestau: number | undefined): Observable<any> {
|
deleteRestau(idRestau: number | undefined): Observable<any> {
|
||||||
return this.httpClient.delete<Restaurant>(`${environment.apiUrl}/delete-restaurant/${idRestau}`);
|
return this.httpClient.delete<Restaurant>(`${environment.apiUrl}/delete-restaurant/${idRestau}`);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getPersonneById(id: any) {
|
getPersonneById(id: any) {
|
||||||
|
Loading…
Reference in New Issue
Block a user