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

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

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