add way of removing a goal (#88)
All checks were successful
Backend Deploy / build (push) Successful in 34s
Backend Build and Test / build (push) Successful in 3m5s

closes #66

Reviewed-on: #88
This commit was merged in pull request #88.
This commit is contained in:
2025-05-26 10:04:57 +02:00
parent e7b4adfa95
commit 63982115a7
4 changed files with 21 additions and 0 deletions

View File

@@ -26,4 +26,8 @@ export class AllowanceService {
updateAllowance(allowance: Partial<Allowance>, allowanceId: number, userId: number) {
this.http.put(`${this.url}/user/${userId}/allowance/${allowanceId}`, allowance).subscribe();
}
deleteAllowance(allowanceId: number, userId: number) {
this.http.delete(`${this.url}/user/${userId}/allowance/${allowanceId}`).subscribe();
}
}