本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
writeas
/
go-writeas
镜像来自
https://github.com/writeas/go-writeas.git
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
9
活動
瀏覽代碼
Catch delete's 204 success response
pull/6/head
Matt Baer
7 年之前
父節點
352395e604
當前提交
436e840f2e
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
post.go
+ 1
- 1
post.go
查看文件
@@ -127,7 +127,7 @@ func (c *Client) DeletePost(sp *PostParams) error {
}
status := env.Code
if status == http.Status
OK
{
if status == http.Status
NoContent
{
return nil
} else if c.isNotLoggedIn(status) {
return fmt.Errorf("Not authenticated.")
Write
Preview
Loading…
取消
儲存