Now that we are getting user activity directly from phoenix, the data gets returned to us with embedded arrays instead of objects. This changes how we pull in the data to the leaderboard view and the leaderboard export.
This PR updates the code so that we pull in the data accessing the arrays, instead of trying to use objects.
How should this be manually tested?
Go to a leaderboard and you should see the data in the view instead of N/A.
Try to export a leaderboard and it should export properly without throwing errors that you are trying to get a property of a non-object.
What's this PR do?
Now that we are getting user activity directly from phoenix, the data gets returned to us with embedded arrays instead of objects. This changes how we pull in the data to the leaderboard view and the leaderboard export.
This PR updates the code so that we pull in the data accessing the arrays, instead of trying to use objects.
How should this be manually tested?
N/A
.What are the relevant tickets?
Fixes #392