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) => {
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue