diff options
author | NavaL <mnandri@thoughtworks.com> | 2016-02-02 13:58:33 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2016-02-02 13:58:33 +0100 |
commit | 5dd5d764de52e08b2da238aea5c86c9bc20f3737 (patch) | |
tree | c50f42ae2783a1d1162b6bc59749c0b029aa5199 /service/pixelated/resources | |
parent | 451b2fbf67780c49afc609b584f4de71ce7d913b (diff) |
WIP
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/mails_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py index c81cbd3b..5de707d7 100644 --- a/service/pixelated/resources/mails_resource.py +++ b/service/pixelated/resources/mails_resource.py @@ -199,7 +199,7 @@ class MailsResource(BaseResource): with_attachment_content = yield self._fetch_attachment_contents(content_dict, _mail_service) sent_mail = yield _mail_service.send_mail(with_attachment_content) - respond_json_deferred(sent_mail.as_dict(), request) + respond_json_deferred(sent_mail.as_dict(), request, status_code=201) @defer.inlineCallbacks def _handle_put(self, request): |