Skip to content
Snippets Groups Projects
Commit 730d91c6 authored by Max Lou's avatar Max Lou
Browse files

Changing result structure

parent ad909e5d
Branches
Tags
No related merge requests found
...@@ -16,10 +16,12 @@ def main(analytics_token): ...@@ -16,10 +16,12 @@ def main(analytics_token):
# Built results object (usually array) # Built results object (usually array)
results = { results = {
"overall": { "overall": [
"h5p": h5p_result[0]["result"][0]["column2"], {
"moodle": moodle_result[0]["result"][0]["column2"], {"h5p": h5p_result[0]["result"][0]["column2"]},
} {"moodle": moodle_result[0]["result"][0]["column2"]},
}
]
} }
# Send result to rights engine # Send result to rights engine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment