Skip to content

Commit e9b448b

Browse files
authored
Merge pull request #84 from Code4GovTech/fix/#432/delayed-role-assignment
Remove check on discord_engagement on user login
2 parents 46f777e + c487e8b commit e9b448b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ async def hasIntroduced():
9090
await asyncio.sleep(15)
9191
authentication = supaClient.read("contributors_registration", "discord_id", user.id)
9292
print("User has authenticated")
93-
discordEngagement = supaClient.read("discord_engagement", "contributor", user.id)[0]
94-
return discordEngagement["has_introduced"]
93+
return True
9594

9695
try:
9796
await asyncio.wait_for(hasIntroduced(), timeout=300)

0 commit comments

Comments
 (0)