Skip to content

Commit

Permalink
fix: typo in predefined user field groups
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Mar 17, 2024
1 parent 2378d35 commit 229413b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repositories/predefined/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async def get_user_predefined(self, user_id: int) -> list[int]:
user = await user_repository.read(user_id)
assert user is not None
predefind_user = self.storage.get_user(user.email)
event_group_mapping = await event_group_repository.batch_read_ids_by_aliases(predefind_user.favorites)
event_group_mapping = await event_group_repository.batch_read_ids_by_aliases(predefind_user.groups)
return list(event_group_mapping.values())


Expand Down

0 comments on commit 229413b

Please sign in to comment.