From 8bb27affa0b9e6e066dc3b64796a6ba7432b7303 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 24 Jun 2020 16:49:11 -0400 Subject: [PATCH] writes number of pages after first post --- services/gunDB/contact-api/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index 6692eb19..497cfd98 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1315,7 +1315,7 @@ const createPost = async (tags, title, content) => { ) }) - if (shouldBeNewPage) { + if (shouldBeNewPage || numOfPages === 0) { await new Promise(res => { require('../Mediator') .getUser()