Change path of the new stream API endpoint

This commit is contained in:
Marcin Kulik
2024-07-02 17:40:27 +02:00
parent 59b58adf24
commit 8f914e3b7f

View File

@@ -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}"));