Skip to content

Commit

Permalink
registration bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanbaaz committed Dec 13, 2024
1 parent 74486e9 commit 163e7d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/supabaseClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": contributor["email"],
"is_active": contributor["is_active"],
"joined_at": contributor["joined_at"].replace(tzinfo=None), # Ensure naive datetime
}

Expand Down
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ async def on_submit(self, interaction: discord.Interaction):
"roles": user.roles,
"joined_at": user.joined_at,
"is_active": True,
"email":""
}
except Exception as e:
print('exception e ', e)
Expand Down

0 comments on commit 163e7d7

Please sign in to comment.