Skip to content

Commit

Permalink
fix resources in payload
Browse files Browse the repository at this point in the history
  • Loading branch information
danielecalda committed Oct 16, 2023
1 parent 10c8dcc commit 9e25894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions email-parser/app/imap/imap_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ def extract(self):
payload["acl"] = {}

if self.get_attachments:
payload["resource"] = {
payload["resources"] = {
"binaries": binaries,
"splitBinaries": True
}
else:
payload["resource"] = {
payload["resources"] = {
"binaries": [],
"splitBinaries": True
}
Expand Down

0 comments on commit 9e25894

Please sign in to comment.