DmitrMakeev commited on
Commit
1287be0
·
verified ·
1 Parent(s): 36ac32e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -467,8 +467,8 @@ def handle_incoming_request():
467
  ]
468
  }
469
  headers = {
470
- 'Content-Type': 'application/json',
471
- 'Accept': 'application/json'
472
  }
473
  response = requests.post(f"{base_url}/email/lists/560783/recipients", json=data, headers=headers)
474
 
 
467
  ]
468
  }
469
  headers = {
470
+ 'Authorization': f'Bearer {token}',
471
+ 'Content-Type': 'application/json'
472
  }
473
  response = requests.post(f"{base_url}/email/lists/560783/recipients", json=data, headers=headers)
474