Spaces:
Runtime error
Runtime error
Rename card data to reflect bHub changes
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def format_submissions(submissions):
|
|
52 |
headers=header,
|
53 |
)
|
54 |
data = response.json()
|
55 |
-
card_data = data["
|
56 |
username = card_data["submission_dataset"].split("/")[0]
|
57 |
submission_data["Submitter"].append(username)
|
58 |
submission_id = card_data["submission_id"]
|
|
|
52 |
headers=header,
|
53 |
)
|
54 |
data = response.json()
|
55 |
+
card_data = data["cardData"]
|
56 |
username = card_data["submission_dataset"].split("/")[0]
|
57 |
submission_data["Submitter"].append(username)
|
58 |
submission_id = card_data["submission_id"]
|