mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-17 03:42:26 +08:00
fix: disqus api using http post
This commit is contained in:
@@ -317,7 +317,7 @@ func ThreadDetails(article *model.Article) error {
|
|||||||
vals.Set("forum", config.Conf.EiBlogApp.Disqus.ShortName)
|
vals.Set("forum", config.Conf.EiBlogApp.Disqus.ShortName)
|
||||||
vals.Set("thread:ident", "post-"+article.Slug)
|
vals.Set("thread:ident", "post-"+article.Slug)
|
||||||
|
|
||||||
resp, err := httpPost(apiThreadDetails, vals)
|
resp, err := httpGet(apiThreadDetails + "?" + vals.Encode())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user