Skip to content

Commit

Permalink
different return for getUserConnectionsStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
litsel-pitdyr committed Jan 7, 2025
1 parent c55fbba commit 6c1d581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/proxyManagementController.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const getUserConnectionsStatus = async (req, res) => {
const userConnections = cache.get("userConnections");
console.log(userConnections);

return res.status(200).json({ userConnections });
return res.status(200).json(userConnections);
} catch (error) {
console.log(error);
return res.status(500).json({ error });
Expand Down

0 comments on commit 6c1d581

Please sign in to comment.