Some users reported that their PRs weren't showing on their profile. After investigation, this is due to their receipt being an empty array which an if failed to account for.
Test process
Have a user with three ineligible PRs
Ensure the user can view their PRs on their profile
Requirements to merge
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
Some users reported that their PRs weren't showing on their profile. After investigation, this is due to their receipt being an empty array which an if failed to account for.
Test process
Requirements to merge