From f82dabc7ed4f90340d269461d9efe3285fee7854 Mon Sep 17 00:00:00 2001 From: Shiorin Date: Thu, 9 Dec 2021 08:14:45 +0700 Subject: [PATCH] =?UTF-8?q?=20[API]=20=E0=B9=80=E0=B8=A1=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=99=E0=B8=B8=E0=B8=A1=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B9=82=E0=B8=9E=E0=B8=AA=E0=B9=80=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=95=E0=B9=87=E0=B8=A1=20=E0=B9=81?= =?UTF-8?q?=E0=B8=A5=E0=B9=89=E0=B8=A7=E0=B8=88=E0=B8=B3=E0=B8=99=E0=B8=A7?= =?UTF-8?q?=E0=B8=99=20repost=20=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B8=82?= =?UTF-8?q?=E0=B8=B6=E0=B9=89=E0=B8=99=20#382?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-spanboon/src/api/controllers/FulfillmentCaseController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-spanboon/src/api/controllers/FulfillmentCaseController.ts b/api-spanboon/src/api/controllers/FulfillmentCaseController.ts index fd852f0b7..b2a1f6ff1 100644 --- a/api-spanboon/src/api/controllers/FulfillmentCaseController.ts +++ b/api-spanboon/src/api/controllers/FulfillmentCaseController.ts @@ -3072,7 +3072,7 @@ export class FulfillmentController { postPage.deleted = false; postPage.ownerUser = new ObjectID(userId); postPage.commentCount = 0; - postPage.repostCount = 0; + postPage.repostCount = 1; // set to 1 because we auto repost for user at the end of method. postPage.shareCount = 0; postPage.likeCount = 0; postPage.viewCount = 0;