From 42142f1be729464990be00b8d412247ca851d5fd Mon Sep 17 00:00:00 2001 From: Eric Biggs Date: Sun, 15 Sep 2024 00:58:09 -0400 Subject: [PATCH] fixup --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/models.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 23aac48..2527bd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -891,7 +891,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "supabase-auth" -version = "0.1.2" +version = "0.1.3" dependencies = [ "reqwest", "serde", diff --git a/Cargo.toml b/Cargo.toml index ecd65b2..744eedc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "supabase-auth" authors = ["Eric Biggs"] description = "Supabase Auth implementation following the official client libraries." readme = "README.md" -version = "0.1.3" +version = "0.1.4" edition = "2021" license = "MIT OR Apache-2.0" keywords = ["supabase", "supabase-auth", "authentication", "auth"] diff --git a/src/models.rs b/src/models.rs index bf18502..e3ebaba 100644 --- a/src/models.rs +++ b/src/models.rs @@ -162,7 +162,7 @@ pub struct VerifyEmailOtpParams { pub token: String, /// The user's verification type. #[serde(rename = "type")] - pub otp_type: MobileOtpType, + pub otp_type: EmailOtpType, /// Optional parameters #[serde(skip_serializing_if = "Option::is_none")] pub options: Option,