always send json
This commit is contained in:
parent
9989a6d662
commit
d3ca2182e0
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue