gmedin commited on
Commit
da71e01
·
verified ·
1 Parent(s): d89e6da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def get_rankings_from_api(brand, user_id, content_ids):
66
  payload = {
67
  "brand": brand.upper(),
68
  "user_id": int(user_id),
69
- "content_ids": content_ids
70
  }
71
  headers = {
72
  "Authorization": f"Bearer {AUTH_TOKEN}",
 
66
  payload = {
67
  "brand": brand.upper(),
68
  "user_id": int(user_id),
69
+ "content_ids": [int(content_id) for content_id in content_ids]
70
  }
71
  headers = {
72
  "Authorization": f"Bearer {AUTH_TOKEN}",