fix: disqus api using http post

This commit is contained in:
henry.chen
2023-01-05 13:51:18 +08:00
parent eca741896f
commit b2e6c168c5

View File

@@ -317,7 +317,7 @@ func ThreadDetails(article *model.Article) error {
vals.Set("forum", config.Conf.EiBlogApp.Disqus.ShortName)
vals.Set("thread:ident", "post-"+article.Slug)
resp, err := httpPost(apiThreadDetails, vals)
resp, err := httpGet(apiThreadDetails + "?" + vals.Encode())
if err != nil {
return err
}