Closed Codycody31 closed 1 month ago
postToComment was having the post.ID overwritten by the next comment if it was for the same post, resulting in the comment missing the post title.
postToComment
post.ID
Fully closes: #91
Good catch, it's a tricky one.
removed postComments fully, not sure why I even kept it in the first place. And switched to use if _, ok := postTitles[post.ID]; ok {
postComments
if _, ok := postTitles[post.ID]; ok {
postToComment
was having thepost.ID
overwritten by the next comment if it was for the same post, resulting in the comment missing the post title.Fully closes: #91