Open JesseKagumu opened 1 month ago
Consistent Response Format: Changed res.send(true) to res.status(200).json({ authenticated: true }) for better structure and extensibility.
HTTP Status Code: Explicitly added status(200) to make sure the response is properly handled by clients expecting HTTP status codes.
Maintained the Principle of Least Privilege
Hello there, thanks for opening your first Pull Request. Someone will review it soon.
Consistent Response Format: Changed res.send(true) to res.status(200).json({ authenticated: true }) for better structure and extensibility.
HTTP Status Code: Explicitly added status(200) to make sure the response is properly handled by clients expecting HTTP status codes.
Maintained the Principle of Least Privilege