Implement PUT /user/{userId}/allowance/{allowanceId} (#52)

Closes #17

Reviewed-on: #52
This commit was merged in pull request #52.
This commit is contained in:
2025-05-17 16:20:05 +02:00
parent d1774c1ce0
commit 238aedb5c9
5 changed files with 109 additions and 1 deletions

View File

@@ -44,6 +44,12 @@ type CreateAllowanceRequest struct {
Weight int `json:"weight"`
}
type UpdateAllowanceRequest struct {
Name string `json:"name"`
Target int `json:"target"`
Weight int `json:"weight"`
}
type CreateGoalResponse struct {
ID int `json:"id"`
}