Closed prasenjeet-symon closed 8 months ago
I'll take up this.
@Nkiriobasi I am reaching out to inquire about the current status of the issue you are addressing. Could you please provide an update on your progress and, if feasible, an estimated timeline for resolution?
Given the urgency of the matter, it is crucial for us to ensure a swift resolution. If, for any reason, completion within the next two days seems challenging, please inform me promptly. In such a scenario, we may need to reassign the task to ensure timely resolution.
Your cooperation is highly valued, and I appreciate your attention to this matter.
I can do this, I'll get started later tonight when I get home.
@prasenjeet-symon sorry something came up with work and I know you need this done quickly and I'm not sure I'll be able to get to this tonight
@prasenjeet-symon sorry something came up with work and I know you need this done quickly and I'm not sure I'll be able to get to this tonight
No worry, someone will take on this issue
Hi, I'll try to take this up using Gitpod, kindly assign me to this. Thanks @prasenjeet-symon @
Title: Refactor "/logout_all" Route for Improved Code Structure
Description: This GitHub issue is dedicated to refactoring the "/logout_all" route within the
packages/server/src/api_auth/index.ts
file. The primary goal is to enhance the code structure by usingres.locals.reqClientData
as the source for client data, removing direct accesses toreq.body
,req.query
, andreq.params
. Additionally, this refactoring will introduce a try-catch block for effective error handling, following the approach in the "login" route within the same folder.Tasks:
Code Refactoring:
packages/server/src/api_auth/index.ts
.req.body
,req.query
, andreq.params
withres.locals.reqClientData
.res.locals.reqClientData
.Error Handling:
Testing:
Documentation:
Acceptance Criteria:
res.locals.reqClientData
.req.body
,req.query
, andreq.params
are eliminated in favor ofres.locals.reqClientData
.Additional Information:
res.locals.reqClientData
improves code structure and reduces dependencies on direct request access.