kvdb
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/db/models/send.rs
|
|
|
@ -161,7 +161,7 @@ impl Send { |
|
|
|
"password": self.password_hash.as_deref().map(|h| BASE64URL_NOPAD.encode(h)), |
|
|
|
"authType": if self.password_hash.is_some() { SendAuthType::Password as i32 } else { SendAuthType::None as i32 }, |
|
|
|
"disabled": self.disabled, |
|
|
|
"hideEmail": self.hide_email, |
|
|
|
"hideEmail": self.hide_email.unwrap_or(false), |
|
|
|
|
|
|
|
"revisionDate": format_date(&self.revision_date), |
|
|
|
"expirationDate": self.expiration_date.as_ref().map(format_date), |
|
|
|
|