diff --git a/server/controllers/neurosity.js b/server/controllers/neurosity.js index 0aaf87c0..72cbb753 100644 --- a/server/controllers/neurosity.js +++ b/server/controllers/neurosity.js @@ -37,7 +37,7 @@ exports.generateOAuthURL = async (req, res) => { .catch((error) => res.status(400).json({ error: error.response.data, - redirectUri: redirectUri + redirectUri: req.query.redirectUri }) ); };