Closed cherylli closed 5 days ago
So I realized we have already updated the api response last week - but I'll need to also update the swagger sample response
this is how it looks like now, so frontend needs to update how it gets the discordID from the response. I will seed the dev database to populate jessica's discord oauth
I'm guessing we use the providerUsername?
I didn't look at Swagger yet, I'm sure that will answer my question lol
yeah it would be something like oauthProfile.find(provider.name==="discord").providerUsername
DO NOT MODIFY/DELETE THIS COMMENT Project task ID: 86b1v4mjw
Describe the bug Discord id not showing up in the directory
To Reproduce Bug Steps to reproduce the bug:
Expected behavior It should show up if they have their discord account connected via oauth. currently they don't so the display is correct. However, we will need to fix the backend to return users discord id in the team info endpoint (it is now stored in another table -
userOAuthProfile
)Screenshots
Additional context Add any other context about the problem here.
--------------- End of User Report: DO NOT MODIFY ITEMS BELOW THIS LINE ---------------
GitHub Issue No. / ID
Team Task Here will be added Team declaration by Team Leads.
Development start date Date when dev team start fixing a bug
Development end date Date when dev team complete fixing a bug
BugFix Deploy Date Date when BugFix is deployed, and Bug Issue is closed
PO Comment Here will be PO team add a comment.