From 0f8ac3e0d4e66d5d2e485d1b1c641b11a9301d40 Mon Sep 17 00:00:00 2001 From: Jason Park Date: Tue, 19 Sep 2023 03:21:29 +0900 Subject: [PATCH] fix: fixing conditional expressions to include 1 --- src/lambda/get-user-threads/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambda/get-user-threads/index.py b/src/lambda/get-user-threads/index.py index ab453996b..6337a20c9 100644 --- a/src/lambda/get-user-threads/index.py +++ b/src/lambda/get-user-threads/index.py @@ -27,7 +27,7 @@ def get_user_threads(uid=""): response_data = { 'thread_ids': thread_ids, 'new_comment_count': new_comment_count, - 'new_comment_flag': new_comment_count > 1 + 'new_comment_flag': new_comment_count >= 1 } body = JsonPayloadBuilder().add_status(True)\