ichieh commited on
Commit
984680d
·
1 Parent(s): 65ec15e

修改報名人同步問題

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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': 'backup_participants',
273
- 'data': participants_data
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: