From d3ca2182e08b7eef71fcfc880b808c4c0fc4c4eb Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Tue, 23 Jun 2020 15:23:29 -0400 Subject: [PATCH] always send json --- src/routes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes.js b/src/routes.js index bbaa3dde..ca749e35 100644 --- a/src/routes.js +++ b/src/routes.js @@ -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