You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use the endpoint /extension-requests/self to retrieve all extension requests for the logged-in user. However, we should transition to using the endpoint /extension-requests/user/:userId to align with the updated API structure and improve clarity and consistency.
expected Behaviour
The system should fetch extension requests using /extension-requests/user/:userId, where :userId is dynamically replaced with the logged-in user's ID. This provides a more RESTful and scalable API design.
current behaviour
The system currently fetches extension requests using the endpoint /extension-requests/self, which is hardcoded to get data for the authenticated user.