a-friday-with-donald / tronalddump-api

tronalddump-api.vercel.app
2 stars 2 forks source link

Get score function #14

Closed mhstrkmp closed 4 years ago

mhstrkmp commented 4 years ago

Add if-else statement to avoid running the reduce function with an empty array

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/a-friday-with-donald/tronalddump-api/4mn2xys18
✅ Preview: https://tronalddump-api-git-getscore.a-friday-with-donald.vercel.app