Spaces:
Sleeping
Sleeping
Update controllers/fetch_microsoft_mails.py
Browse files
controllers/fetch_microsoft_mails.py
CHANGED
@@ -239,7 +239,7 @@ def extract_attachments_from_mail(access_token: str, message_data: dict) -> List
|
|
239 |
if attachments_response.status_code != 200 :
|
240 |
return "No Attachments","Empty Strcutured Data"
|
241 |
print("attachments_response")
|
242 |
-
print(attachments_response)
|
243 |
attachments = attachments_response.json().get('value', [])
|
244 |
print(attachments)
|
245 |
if attachments:
|
|
|
239 |
if attachments_response.status_code != 200 :
|
240 |
return "No Attachments","Empty Strcutured Data"
|
241 |
print("attachments_response")
|
242 |
+
print(attachments_response.json())
|
243 |
attachments = attachments_response.json().get('value', [])
|
244 |
print(attachments)
|
245 |
if attachments:
|