fix(disqus): fix returned posts list not have parent post

This commit is contained in:
henry.chen committed 2024-01-02 19:09:37 +08:00
1 parent 7c938bf024
commit 9d71ca8198
2 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ func handleDisqusList(c *gin.Context) {
if artc != nil {
dcs.Data.Thread = artc.Thread
}
postsList, err := internal.PostsList(slug, cursor)
postsList, err := internal.PostsList(artc, cursor)
if err != nil {
logrus.Error("hadnleDisqusList.PostsList: ", err)
dcs.ErrNo = 0