summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/controllers/mails_controller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/controllers/mails_controller.py b/service/pixelated/controllers/mails_controller.py
index f990bcc2..7166a51d 100644
--- a/service/pixelated/controllers/mails_controller.py
+++ b/service/pixelated/controllers/mails_controller.py
@@ -80,9 +80,9 @@ class MailsController:
return respond_json(None, request)
def delete_mails(self, request):
- idents = json.loads(request.form['idents'])
+ idents = json.loads(request.content.read())['idents']
for ident in idents:
- self.delete_mail(ident)
+ self.delete_mail(request, ident)
return respond_json(None, request)
def send_mail(self, request):