Use correct validated variable

This commit is contained in:
Daniel Lugo 2022-01-17 13:26:34 -04:00
parent f3603f08b6
commit 34d55d4b60

View file

@ -2112,7 +2112,7 @@ module.exports = async (
throw new Error(`Missing publicKey route param.`)
}
await GunActions.unfollow(req.params.publicKey)
await GunActions.unfollow(publicKey)
return res.status(200).json({
ok: true