Skip to content

Commit 163e7d7

Browse files
committed
registration bug fix
1 parent 74486e9 commit 163e7d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

helpers/supabaseClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ async def updateContributor(self, contributor: Member, table_class=None):
411411
"chapter": chapters[0] if chapters else None,
412412
"gender": gender,
413413
"email": contributor["email"],
414-
"is_active": contributor["email"],
414+
"is_active": contributor["is_active"],
415415
"joined_at": contributor["joined_at"].replace(tzinfo=None), # Ensure naive datetime
416416
}
417417

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ async def on_submit(self, interaction: discord.Interaction):
6363
"roles": user.roles,
6464
"joined_at": user.joined_at,
6565
"is_active": True,
66+
"email":""
6667
}
6768
except Exception as e:
6869
print('exception e ', e)

0 commit comments

Comments
 (0)