From d24230ad7a3d2d5cbef5da67cd151665075bc5fd Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 18 Nov 2020 08:05:00 -0400 Subject: [PATCH] only use new postst location --- services/gunDB/contact-api/actions.js | 3 ++- src/routes.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index c5dfd417..f784cfe5 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1624,5 +1624,6 @@ module.exports = { unfollow, initWall, sendMessageNew, - sendSpontaneousPayment + sendSpontaneousPayment, + createPostNew } diff --git a/src/routes.js b/src/routes.js index 3309f41c..f77a65c4 100644 --- a/src/routes.js +++ b/src/routes.js @@ -2252,7 +2252,7 @@ module.exports = async ( const { tags, title, contentItems } = req.body return res .status(200) - .json(await GunActions.createPost(tags, title, contentItems)) + .json(await GunActions.createPostNew(tags, title, contentItems)) } catch (e) { return res.status(500).json({ errorMessage: