This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
writeas
/
go-writeas
огледало од
https://github.com/writeas/go-writeas.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
9
Activity
Преглед изворни кода
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…
Откажи
Сачувај