AP-64 (#86)
Some checks failed
Backend Deploy / build (push) Successful in 23s
Backend Build and Test / build (push) Failing after 2m2s

closes #64

Reviewed-on: #86
This commit was merged in pull request #86.
This commit is contained in:
2025-05-26 09:10:25 +02:00
parent daebcdeccd
commit 550933db11
15 changed files with 250 additions and 22 deletions

View File

@@ -14,4 +14,8 @@ export class AllowanceService {
getAllowanceList(userId: number): Observable<Array<Allowance>> {
return this.http.get<Allowance[]>(`${this.url}/user/${userId}/allowance`);
}
createAllowance(allowance: Partial<Allowance>, userId: number) {
this.http.post(`${this.url}/user/${userId}/allowance`, allowance).subscribe();
}
}