diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-08-20 15:26:01 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-08-20 15:26:01 +0200 |
commit | 77763e9ce22c9eb173dec7aa29cf379d3b6b47ea (patch) | |
tree | 6481fda7d9a5f08cb5218aa817e60a524467da05 /examples | |
parent | e3161f2e8561089d6db72f2a36011c7a5b54f320 (diff) | |
download | rust-zotapi-77763e9ce22c9eb173dec7aa29cf379d3b6b47ea.tar.gz rust-zotapi-77763e9ce22c9eb173dec7aa29cf379d3b6b47ea.tar.bz2 rust-zotapi-77763e9ce22c9eb173dec7aa29cf379d3b6b47ea.zip |
Remove create_item API.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hubzilla-post.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hubzilla-post.rs b/examples/hubzilla-post.rs index 8b9773a..5eb7826 100644 --- a/examples/hubzilla-post.rs +++ b/examples/hubzilla-post.rs @@ -36,7 +36,7 @@ fn main() { let client = zotapi::client(&site, &user, &password); - match client.create_item(&body) { + match client.item().body(&body).create() { Ok(payload) => { println!("Raw payload: {}", payload); }, |