Skip to content

Commit 74486e9

Browse files
committed
is_active added
1 parent 0fd0464 commit 74486e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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": True,
414+
"is_active": contributor["email"],
415415
"joined_at": contributor["joined_at"].replace(tzinfo=None), # Ensure naive datetime
416416
}
417417

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ async def on_submit(self, interaction: discord.Interaction):
6161
"discord_id": user.id,
6262
"country": self.country.value,
6363
"roles": user.roles,
64-
"joined_at": user.joined_at
64+
"joined_at": user.joined_at,
65+
"is_active": True,
6566
}
6667
except Exception as e:
6768
print('exception e ', e)

0 commit comments

Comments
 (0)