Use correct validated variable
This commit is contained in:
parent
f3603f08b6
commit
34d55d4b60
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue