Skip to content

Commit

Permalink
fixed acl
Browse files Browse the repository at this point in the history
  • Loading branch information
danielecalda committed Apr 11, 2023
1 parent fcbeabc commit d5748f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions email-parser/app/imap/imap_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ def extract(self):
}

if self.index_acl:
payload["acl"] = acl_list
payload["acl"] = {
"email": acl_list
}
else:
payload["acl"] = []
payload["acl"] = {}

try:
post_message(ingestion_url, payload, 10)
Expand Down

0 comments on commit d5748f4

Please sign in to comment.