이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
writeas
/
go-writeas
의 미러
https://github.com/writeas/go-writeas.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
9
활동
소스 검색
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
5 년 전
부모
9f0a63ee86
커밋
cbbd4ec209
1개의 변경된 파일
과
3개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
post.go
+ 3
- 0
post.go
파일 보기
@@ -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
쓰기
미리보기
불러오는 중...
취소
저장