Skip to content

Commit

Permalink
Merge pull request #274 from LleidaHack/integration
Browse files Browse the repository at this point in the history
Integration
  • Loading branch information
tonlls authored Nov 3, 2024
2 parents a75d635 + ca570f8 commit ddd6600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/impl/Event/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ def get_pending_hackers_gruped(self, event_id: int, data: BaseToken):
"members": [{
"id": hacker.id,
"name": hacker.name,
"mail": hacker.mail,
"birthdate": hacker.birthdate,
"address": hacker.address,
"food_restrictions": hacker.food_restrictions,
Expand All @@ -462,6 +463,7 @@ def get_pending_hackers_gruped(self, event_id: int, data: BaseToken):
nogroup_data = [{
"id": hacker.id,
"name": hacker.name,
"mail": hacker.mail,
"birthdate": hacker.birthdate,
"address": hacker.address,
"food_restrictions": hacker.food_restrictions,
Expand Down
1 change: 1 addition & 0 deletions src/utils/Token.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ class AccesToken(BaseToken):
def __init__(self, user: User):
super().__init__(user)
self.type = TokenType.ACCESS.value
self.expt = (datetime.now(UTC) + timedelta(days=30)).isoformat()
if user is None:
return
self.is_verified = user.is_verified
Expand Down

0 comments on commit ddd6600

Please sign in to comment.