only use new postst location
This commit is contained in:
parent
c2050c30fb
commit
d24230ad7a
2 changed files with 3 additions and 2 deletions
|
|
@ -1624,5 +1624,6 @@ module.exports = {
|
||||||
unfollow,
|
unfollow,
|
||||||
initWall,
|
initWall,
|
||||||
sendMessageNew,
|
sendMessageNew,
|
||||||
sendSpontaneousPayment
|
sendSpontaneousPayment,
|
||||||
|
createPostNew
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2252,7 +2252,7 @@ module.exports = async (
|
||||||
const { tags, title, contentItems } = req.body
|
const { tags, title, contentItems } = req.body
|
||||||
return res
|
return res
|
||||||
.status(200)
|
.status(200)
|
||||||
.json(await GunActions.createPost(tags, title, contentItems))
|
.json(await GunActions.createPostNew(tags, title, contentItems))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
errorMessage:
|
errorMessage:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue