From 5b2538cd3cd5cb012021b7043a2ef427b7ace89a Mon Sep 17 00:00:00 2001 From: Bruno Wagner Goncalves and Patrick Maia Date: Thu, 14 Aug 2014 12:11:48 -0300 Subject: Update mail with new tags should be working now --- service/app/pixelated_user_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/app/pixelated_user_agent.py') diff --git a/service/app/pixelated_user_agent.py b/service/app/pixelated_user_agent.py index 75e84c3c..2d0dc4b8 100644 --- a/service/app/pixelated_user_agent.py +++ b/service/app/pixelated_user_agent.py @@ -49,7 +49,8 @@ def save_draft_or_send(): @app.route('/mails', methods=['PUT']) def update_draft(): - ident = mail_service.save_draft(converter.to_mail(request.json, account)) + raw_mail = json.parse(request.json) + ident = mail_service.update_mail(raw_mail) return respond_json({'ident': ident}) -- cgit v1.2.3