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:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user