From 5f613bc2c268c699218d5b18630b18b5c94f63f9 Mon Sep 17 00:00:00 2001 From: Nixinova <42429413+Nixinova@users.noreply.github.com> Date: Mon, 31 May 2021 22:14:22 +1200 Subject: [PATCH] Initialise comment count as 0 for StackOverflow plugin (#347) [skip ci] --- source/plugins/stackoverflow/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/stackoverflow/index.mjs b/source/plugins/stackoverflow/index.mjs index 34637d8a..c16723bc 100644 --- a/source/plugins/stackoverflow/index.mjs +++ b/source/plugins/stackoverflow/index.mjs @@ -112,7 +112,7 @@ const format = { tags, is_answered:answered, answer_count:answers, - comment_count:comments, + comment_count:comments = 0, view_count:views, creation_date, owner:{display_name:author},