diff options
author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-11-17 11:30:55 -0200 |
---|---|---|
committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-11-17 11:33:50 -0200 |
commit | c88514fdf18f39fb67101e3ea9741b3430f221b6 (patch) | |
tree | 477291889c4a4524ad71fab80705b341c6e2d37d /service/pixelated/resources | |
parent | 83c409e197da1784f9c3f8999a622a62003f85c6 (diff) |
Issue #495 Giovane/Jeff: Fixed from undefined
Sent mail doesn't have a from field, so now we are adding it
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/mail_resource.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/service/pixelated/resources/mail_resource.py b/service/pixelated/resources/mail_resource.py index 436842fb..14cb047a 100644 --- a/service/pixelated/resources/mail_resource.py +++ b/service/pixelated/resources/mail_resource.py @@ -37,9 +37,7 @@ class Mail(Resource): def render_GET(self, request): d = self._mail_service.mail(self._mail_id) - d.addCallback(lambda mail: respond_json_deferred(mail.as_dict(), request)) - return NOT_DONE_YET def render_DELETE(self, request): |