add: user ban_reason
This commit is contained in:
parent
b25bda29b8
commit
d1c3643574
11 changed files with 100 additions and 9 deletions
|
@ -83,6 +83,9 @@ pub struct User {
|
|||
/// Stripe connected account information (for Tetratto marketplace).
|
||||
#[serde(default)]
|
||||
pub seller_data: StripeSellerData,
|
||||
/// The reason the user was banned.
|
||||
#[serde(default)]
|
||||
pub ban_reason: String,
|
||||
}
|
||||
|
||||
pub type UserConnections =
|
||||
|
@ -383,6 +386,7 @@ impl User {
|
|||
was_purchased: false,
|
||||
browser_session: String::new(),
|
||||
seller_data: StripeSellerData::default(),
|
||||
ban_reason: String::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue