Use correct validated variable

This commit is contained in:
Daniel Lugo 2022-01-17 13:27:29 -04:00
parent 34d55d4b60
commit cd54d559a7

View file

@ -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({