Skip to content

Commit

Permalink
Fixed workspace result
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Dec 10, 2024
1 parent db6565d commit ccc1abe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/rust-kraken-sdk/src/sdk/workspaces.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use kraken::api::handler::common::schema::UuidResponse;
use kraken::api::handler::workspaces::schema::CreateWorkspaceRequest;
use kraken::api::handler::workspaces::schema::FullWorkspace;
use kraken::api::handler::workspaces::schema::ListWorkspaces;
Expand All @@ -24,7 +25,7 @@ impl KrakenClient {
&self,
name: String,
description: Option<String>,
) -> KrakenResult<Uuid> {
) -> KrakenResult<UuidResponse> {
self.post("api/v1/workspaces")
.body(CreateWorkspaceRequest { name, description })
.send()
Expand Down

0 comments on commit ccc1abe

Please sign in to comment.