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) => { app.delete(`/api/gun/wall/:postID`, (_, res) => res.status(200).json({
//res.status(200).json(await GunActions.deletePost(postID)) ok: 'true'
}) }))
///////////////////////////////// /////////////////////////////////
/** /**
* @template P * @template P