Mercurial > hg > Members > anatofuz > growsync
changeset 13:7577f95fdbcb
fix pages create endopint
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Dec 2020 18:18:14 +0900 |
parents | 2bfcdd284ce5 |
children | 1e21b0c29775 |
files | client/page.go version.go |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/page.go Tue Dec 15 17:12:20 2020 +0900 +++ b/client/page.go Tue Dec 15 18:18:14 2020 +0900 @@ -100,7 +100,7 @@ var ErrorPageNotFOund = errors.New("page not found") -const CREATE_ENDPOINT string = "/_api/v3/pages/create" +const CREATE_ENDPOINT string = "/_api/v3/pages" // Create makes a page in your Crowi. The request requires // the path and page content used for the page name