Skip to content

Commit

Permalink
is_active added
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanbaaz committed Dec 13, 2024
1 parent 0fd0464 commit 74486e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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": True,
"is_active": contributor["email"],
"joined_at": contributor["joined_at"].replace(tzinfo=None), # Ensure naive datetime
}

Expand Down
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 74486e9

Please sign in to comment.