Skip to content

Commit

Permalink
fix condenser_api.get_discussions_by_blog api when limit is more than…
Browse files Browse the repository at this point in the history
… real count
  • Loading branch information
ety001 committed Feb 29, 2024
1 parent 65a68ce commit a7901d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive/server/condenser_api/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _condenser_post_object(row, truncate_body=0):
post['promoted'] = "%.3f SBD" % row['promoted']

post['replies'] = []
post['body_length'] = len(row['body'])
post['body_length'] = len(row['body']) if row['body'] is not None else ''
post['active_votes'] = _hydrate_active_votes(row['votes'])
post['author_reputation'] = rep_to_raw(row['author_rep'])

Expand Down

0 comments on commit a7901d7

Please sign in to comment.