S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
writeas
/
go-writeas
zrcadlo
https://github.com/writeas/go-writeas.git
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Vydání
9
Aktivita
Procházet zdrojové kódy
Pass along edit token on post update
Fixes bug introduced when we moved `Token` into the func's parameters, out of PostParams.
pull/9/head
Matt Baer
před 5 roky
rodič
9f0a63ee86
revize
cbbd4ec209
1 změnil soubory
, kde provedl
3 přidání
a
0 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+3
-0
post.go
+ 3
- 0
post.go
Zobrazit soubor
@@ -145,8 +145,11 @@ func (c *Client) updatePost(collection, identifier, token string, sp *PostParams
/*
if collection != "" {
endpoint = "/collections/" + collection + endpoint
} else {
sp.Token = token
}
*/
sp.Token = token
env, err := c.put(endpoint, sp, p)
if err != nil {
return nil, err
Zapsat
Náhled
Načítá se…
Zrušit
Uložit