Skip to content

Commit

Permalink
fix reblog_on null date, close #169
Browse files Browse the repository at this point in the history
  • Loading branch information
roadscape committed Jan 16, 2019
1 parent a658c34 commit 96571c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive/server/condenser_api/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def _get_blog(account: str, start_index: int, limit: int = None):
idx = int(start_index)
for post in load_posts(ids):
reblog = post['author'] != account
reblog_on = post['created'] if reblog else "1970-01-01T00"
reblog_on = post['created'] if reblog else "1970-01-01T00:00:00"
out.append({"blog": account,
"entry_id": idx,
"comment": post,
Expand Down

0 comments on commit 96571c3

Please sign in to comment.