Update app.py
Browse files
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}",
|