Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -118,7 +118,8 @@ async def test_google(code:str):
|
|
118 |
message_response = requests.get(message_url, headers={"Authorization": f"Bearer {access_token}"})
|
119 |
message_data = message_response.json()
|
120 |
print(message_data)
|
121 |
-
|
|
|
122 |
if 'payload' in message_data and 'headers' in message_data['payload']:
|
123 |
headers = message_data['payload']['headers']
|
124 |
for header in headers:
|
|
|
118 |
message_response = requests.get(message_url, headers={"Authorization": f"Bearer {access_token}"})
|
119 |
message_data = message_response.json()
|
120 |
print(message_data)
|
121 |
+
subject = ''
|
122 |
+
body = ''
|
123 |
if 'payload' in message_data and 'headers' in message_data['payload']:
|
124 |
headers = message_data['payload']['headers']
|
125 |
for header in headers:
|