From 8f914e3b7fcf255d4795a84fc423a0f8bce5b303 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Tue, 2 Jul 2024 17:40:27 +0200 Subject: [PATCH] Change path of the new stream API endpoint --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index 21ac044..d67a2a5 100644 --- a/src/api.rs +++ b/src/api.rs @@ -111,7 +111,7 @@ fn user_stream_request( let mut url = server_url.clone(); let builder = if stream_id.is_empty() { - url.set_path("api/user/streams"); + url.set_path("api/streams"); client.post(url) } else { url.set_path(&format!("api/user/streams/{stream_id}"));