Skip to content

Commit

Permalink
fix: fixing conditional expressions to include 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 18, 2023
1 parent 4029dd7 commit 0f8ac3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/get-user-threads/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)\
Expand Down

0 comments on commit 0f8ac3e

Please sign in to comment.