DoSomething / gladiator

:guardsman: The DoSomething.org competitions platform.
2 stars 0 forks source link

Leaderboard messages bug #408

Closed sbsmith86 closed 7 years ago

sbsmith86 commented 7 years ago

What's this PR do?

Makes updates to how we grab the info needed to generate the leaderboard photos for leaderboard messages.

There seemed to be a bug with sending the leaderboard messages for the Sincerly, Us campaign. It seemed to be related to not grabbing the reportback item data correctly now that we use Phoenix to grab the data and it returns data as nested arrays. These fixes were able to get messages to send on my local.

The odd thing about this bug is that it just popped up on this campaign, going to dig further into why.

What are the relevant tickets?

Fixes #407