Add TotpSchema
This commit is contained in:
parent
3957d23c53
commit
28d03b9c9f
|
@ -26,4 +26,13 @@ pub mod schemas {
|
|||
login_source: Option<String>,
|
||||
gift_code_sku_id: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub struct TotpSchema {
|
||||
code: String,
|
||||
ticket: String,
|
||||
gift_code_sku_id: Option<String>,
|
||||
login_source: Option<String>,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue