Fixed remove user process
Some checks failed
Deploy staging on push / on-push-deploy_sh-edraft (push) Failing after 4s
Some checks failed
Deploy staging on push / on-push-deploy_sh-edraft (push) Failing after 4s
This commit is contained in:
parent
2889a97f17
commit
4368720f80
@ -398,6 +398,9 @@ class DataIntegrityService:
|
|||||||
if user is None:
|
if user is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
for join in self._user_joins.get_user_joined_servers_by_user_id(user.id):
|
||||||
|
self._user_joins.delete_user_joined_server(join)
|
||||||
|
|
||||||
self._user_joins_vc.delete_user_joined_voice_channel_by_user_id(user.id)
|
self._user_joins_vc.delete_user_joined_voice_channel_by_user_id(user.id)
|
||||||
self._users.delete_user(user)
|
self._users.delete_user(user)
|
||||||
self._db_context.save_changes()
|
self._db_context.save_changes()
|
||||||
|
Loading…
Reference in New Issue
Block a user