Spaces:
Sleeping
Sleeping
ichieh commited on
Commit ·
984680d
1
Parent(s): 65ec15e
修改報名人同步問題
Browse files
app.py
CHANGED
|
@@ -269,8 +269,8 @@ def _backup_data_internal():
|
|
| 269 |
|
| 270 |
# 同步到 Google Sheets
|
| 271 |
response = requests.post(SETTINGS_SCRIPT_URL, json={
|
| 272 |
-
'action': '
|
| 273 |
-
'
|
| 274 |
})
|
| 275 |
|
| 276 |
if response.status_code != 200:
|
|
|
|
| 269 |
|
| 270 |
# 同步到 Google Sheets
|
| 271 |
response = requests.post(SETTINGS_SCRIPT_URL, json={
|
| 272 |
+
'action': 'backupParticipants', # 修正 action 名稱
|
| 273 |
+
'participants': participants_data # 修正資料格式
|
| 274 |
})
|
| 275 |
|
| 276 |
if response.status_code != 200:
|