Skip to content

Commit

Permalink
[API] เมื่ออนุมัติโพสเติมเต็ม แล้วจำนวน repost ไม่ขึ้น #382
Browse files Browse the repository at this point in the history
  • Loading branch information
junsudas committed Dec 9, 2021
1 parent 792426e commit f82dabc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f82dabc

Please sign in to comment.