Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Accurate0 committed Jul 28, 2023
1 parent 0f7a2ec commit 57b2f8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "libmaccas"
version = "0.46.0"
version = "0.47.0"
edition = "2021"
license = "MIT"
description = "McDonald's API Client"
Expand Down
4 changes: 2 additions & 2 deletions src/types/request.rs
Expand Up @@ -67,8 +67,8 @@ pub struct Credentials {
pub password: Option<String>,
#[serde(rename = "type")]
pub type_field: String,
#[serde(rename = "sendMagicLink")]
pub send_magic_link: bool,
#[serde(rename = "sendMagicLink", skip_serializing_if = "Option::is_none")]
pub send_magic_link: Option<bool>,
}

#[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
Expand Down

0 comments on commit 57b2f8a

Please sign in to comment.