mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 14:12:07 +02:00
Fix workspace defaults
This commit is contained in:
@@ -284,10 +284,7 @@ async fn create_workspace(
|
||||
let pool = &*db_instance.lock().await;
|
||||
let created_workspace = models::upsert_workspace(
|
||||
pool,
|
||||
models::Workspace {
|
||||
name: name.to_string(),
|
||||
..Default::default()
|
||||
},
|
||||
models::Workspace::new(name.to_string()),
|
||||
)
|
||||
.await
|
||||
.expect("Failed to create Workspace");
|
||||
|
||||
Reference in New Issue
Block a user