Implement removing and adding qualifications while creating or editing employees (#29)

Co-authored-by: Phan Huy Tran <p.tran@neusta.de>
Reviewed-on: #29
Reviewed-by: Constantin Simonis <constantin@simonis.lol>
This commit is contained in:
Huy
2025-01-09 12:58:48 +00:00
committed by Get in my car i have candy
parent 14cd210a05
commit d00aec70a0
5 changed files with 81 additions and 18 deletions

View File

@ -25,6 +25,6 @@ export default class EmployeeApiService {
}
public update(employee: Employee, id: number) {
return this.http.patch(`${EmployeeApiService.BASE_URL}/employees/${id}`, employee)
return this.http.put(`${EmployeeApiService.BASE_URL}/employees/${id}`, employee)
}
}