edit and delete changes

This commit is contained in:
2023-05-07 13:23:26 +02:00
parent cd79fed789
commit 5267e4dba5
3 changed files with 62 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ export class UserService {
}
updateUser(user: UserEntity, id: number) {
return this.http.put<UserEntity>(USER + id, user);
return this.http.put<UserEntity>(USER + "/"+id, user);
}
deleteUser(id: number) {