diff --git a/src/routes.js b/src/routes.js index 59f386f4..e2e5d4c0 100644 --- a/src/routes.js +++ b/src/routes.js @@ -2089,7 +2089,7 @@ module.exports = async ( throw new Error(`Missing publicKey route param.`) } - await GunActions.follow(req.params.publicKey, false) + await GunActions.follow(publicKey, false) // 201 would be extraneous here. Implement it inside app.put return res.status(200).json({