mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Change path of the new stream API endpoint
This commit is contained in:
@@ -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}"));
|
||||
|
||||
Reference in New Issue
Block a user