From 4bc09ef2f61ec55e01485dfa606a9d6631e607a5 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Sun, 23 Jun 2024 20:30:10 +0000 Subject: [PATCH] update peoperty name for should_create_user --- supabase_auth/_async/gotrue_client.py | 2 +- supabase_auth/_sync/gotrue_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/supabase_auth/_async/gotrue_client.py b/supabase_auth/_async/gotrue_client.py index b46ab230..00ea1d23 100644 --- a/supabase_auth/_async/gotrue_client.py +++ b/supabase_auth/_async/gotrue_client.py @@ -442,7 +442,7 @@ async def sign_in_with_otp( phone = credentials.get("phone") options = credentials.get("options", {}) email_redirect_to = options.get("email_redirect_to") - should_create_user = options.get("create_user", True) + should_create_user = options.get("should_create_user", True) data = options.get("data") channel = options.get("channel", "sms") captcha_token = options.get("captcha_token") diff --git a/supabase_auth/_sync/gotrue_client.py b/supabase_auth/_sync/gotrue_client.py index 131fbcf5..ace93194 100644 --- a/supabase_auth/_sync/gotrue_client.py +++ b/supabase_auth/_sync/gotrue_client.py @@ -436,7 +436,7 @@ def sign_in_with_otp( phone = credentials.get("phone") options = credentials.get("options", {}) email_redirect_to = options.get("email_redirect_to") - should_create_user = options.get("create_user", True) + should_create_user = options.get("should_create_user", True) data = options.get("data") channel = options.get("channel", "sms") captcha_token = options.get("captcha_token")