server: Allow to rename the household
This commit is contained in:
parent
c23da789a1
commit
f815441240
3 changed files with 22 additions and 2 deletions
|
|
@ -38,6 +38,11 @@ pub struct CreateHouseholdResponse {
|
|||
pub id: Uuid,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct RenameHouseholdRequest {
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct AddToHouseholdRequest {
|
||||
pub user: Uuid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue