From 77763e9ce22c9eb173dec7aa29cf379d3b6b47ea Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 20 Aug 2018 15:26:01 +0200 Subject: Remove create_item API. --- examples/hubzilla-post.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); }, -- cgit v1.2.3