Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,6 +136,8 @@ def sync_to_notion(token, database_id, branch_data):
|
|
| 136 |
print("branchData", branch_data)
|
| 137 |
for branch in branch_data:
|
| 138 |
# Find the corresponding page in Notion
|
|
|
|
|
|
|
| 139 |
page_id = None
|
| 140 |
existing_depends_on = []
|
| 141 |
for page in pages:
|
|
|
|
| 136 |
print("branchData", branch_data)
|
| 137 |
for branch in branch_data:
|
| 138 |
# Find the corresponding page in Notion
|
| 139 |
+
branch_update_time = branch_details.get(branch['Name'], {}).get('updated', '')
|
| 140 |
+
|
| 141 |
page_id = None
|
| 142 |
existing_depends_on = []
|
| 143 |
for page in pages:
|