Skip to content

Commit

Permalink
fix(service): remove user from storage during repopulate call (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh authored Nov 14, 2024
1 parent 02dff3b commit d7f657f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marznode/service/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ async def RepopulateUsers(
for storage_user in await self._storage.list_users():
if storage_user.id not in user_ids:
await self._remove_user(storage_user, storage_user.inbounds)
await self._storage.remove_user(storage_user)
await stream.send_message(Empty())

async def FetchUsersStats(self, stream: Stream[Empty, UsersStats]) -> None:
Expand Down

0 comments on commit d7f657f

Please sign in to comment.