server: add support for creating a user with attributes

This commit is contained in:
Valentin Tolmer
2023-09-25 01:18:02 +02:00
committed by nitnelave
parent 81204dcee5
commit 3fadfb1944
4 changed files with 30 additions and 3 deletions

View File

@@ -104,6 +104,7 @@ pub struct CreateUserRequest {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub avatar: Option<JpegPhoto>,
pub attributes: Vec<AttributeValue>,
}
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]