Fixed small typo
This commit is contained in:
@@ -154,7 +154,7 @@ export class EmployeeService extends UnsubscribeDirective {
|
||||
}
|
||||
|
||||
public deleteEmployee(employee: Employee): Observable<Employee | Partial<Employee>> {
|
||||
return this.httpClient.delete<void>(`${this._apiBaseUrl}/hubba`).pipe(
|
||||
return this.httpClient.delete<void>(`${this._apiBaseUrl}/${employee.id}`).pipe(
|
||||
tap(() => {
|
||||
this._lastDeletedEmployee$.next(employee);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user