This route discord-actions/nicknames/sync is behind a middleware accessing req.userData which would only be available if the call is made through website-dashboard. As we move these routes to a cronjob, we need to remove this check. Have verified req.userData is not being used for this route's controller and is safe to remove
Date: 18-03-2024
Developer Name: Pavan Bhat
Issue Ticket Number
1989
Description
Removed Middleware for Reference:
This route
discord-actions/nicknames/sync
is behind a middleware accessingreq.userData
which would only be available if the call is made through website-dashboard. As we move these routes to a cronjob, we need to remove this check. Have verifiedreq.userData
is not being used for this route's controller and is safe to removeDocumentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Test Coverage
Screenshot 1
Additional Notes