always send json

This commit is contained in:
Daniel Lugo 2020-06-23 15:23:29 -04:00
parent 9989a6d662
commit d3ca2182e0

View file

@ -1856,9 +1856,9 @@ module.exports = async (
}
})
app.delete(`/api/gun/wall/:postID`,async (req,res) => {
//res.status(200).json(await GunActions.deletePost(postID))
})
app.delete(`/api/gun/wall/:postID`, (_, res) => res.status(200).json({
ok: 'true'
}))
/////////////////////////////////
/**
* @template P