diff --git a/helpers/supabaseClient.py b/helpers/supabaseClient.py index 33fc4f4..085074b 100644 --- a/helpers/supabaseClient.py +++ b/helpers/supabaseClient.py @@ -411,7 +411,7 @@ async def updateContributor(self, contributor: Member, table_class=None): "chapter": chapters[0] if chapters else None, "gender": gender, "email": contributor["email"], - "is_active": True, + "is_active": contributor["email"], "joined_at": contributor["joined_at"].replace(tzinfo=None), # Ensure naive datetime } diff --git a/main.py b/main.py index f2fb5cd..42cc86d 100644 --- a/main.py +++ b/main.py @@ -61,7 +61,8 @@ async def on_submit(self, interaction: discord.Interaction): "discord_id": user.id, "country": self.country.value, "roles": user.roles, - "joined_at": user.joined_at + "joined_at": user.joined_at, + "is_active": True, } except Exception as e: print('exception e ', e)