Add state info to dashboard, improve stat change notifications, improve auth tests

This commit is contained in:
ErikKalkoken
2020-07-03 14:58:45 +02:00
parent e44c2935f9
commit f1a21bb856
11 changed files with 214 additions and 182 deletions

View File

@@ -33,7 +33,8 @@ class DiscordService(ServicesHook):
if self.user_has_account(user):
logger.debug('Deleting user %s %s account', user, self.name)
tasks.delete_user.apply_async(
kwargs={'user_pk': user.pk}, priority=SINGLE_TASK_PRIORITY
kwargs={'user_pk': user.pk, 'notify_user': notify_user},
priority=SINGLE_TASK_PRIORITY
)
def render_services_ctrl(self, request):