Use correct validated variable
This commit is contained in:
parent
34d55d4b60
commit
cd54d559a7
1 changed files with 1 additions and 1 deletions
|
|
@ -2089,7 +2089,7 @@ module.exports = async (
|
||||||
throw new Error(`Missing publicKey route param.`)
|
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
|
// 201 would be extraneous here. Implement it inside app.put
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue