Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -66,7 +66,7 @@ async def auth_google(request: Request):
|
|
66 |
user_info = requests.get("https://www.googleapis.com/oauth2/v1/userinfo", headers={"Authorization": f"Bearer {access_token_new}"})
|
67 |
page_token = None
|
68 |
messages = []
|
69 |
-
jobs_query = "subject:receipt OR subject:receipts has:attachment"
|
70 |
|
71 |
while True:
|
72 |
# Construct Gmail API request with pageToken
|
|
|
66 |
user_info = requests.get("https://www.googleapis.com/oauth2/v1/userinfo", headers={"Authorization": f"Bearer {access_token_new}"})
|
67 |
page_token = None
|
68 |
messages = []
|
69 |
+
jobs_query = "subject:receipt OR subject:receipts OR subject:Invoice OR subject:invoice has:attachment "
|
70 |
|
71 |
while True:
|
72 |
# Construct Gmail API request with pageToken
|