Skip to content

Commit

Permalink
fix: wrong post
Browse files Browse the repository at this point in the history
  • Loading branch information
weber-s committed Oct 3, 2023
1 parent 7bf05c4 commit 2b0c958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dalec_discourse/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _fetch_latest_topics(self, nb, channel=None, channel_object=None):
)
post_content = client.post(topic_id=topic["id"], post_id=topic["posts_count"])[
"post_stream"
]["posts"][0]
]["posts"][-1]

topic["id"] = str(topic["id"])
if not topic["last_posted_at"]:
Expand Down

0 comments on commit 2b0c958

Please sign in to comment.