Skip to content

Commit e56e60e

Browse files
committed
Update routes.rs
1 parent 4bbca90 commit e56e60e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/epsilon/server/instances/routes.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ pub async fn create(
2727
"Failed to create an instance from template ({})",
2828
template
2929
))
30-
})?;
30+
})
31+
.unwrap();
3132

32-
let result = serde_json::to_string(&instance.to_json().await?).unwrap();
33+
let result = serde_json::to_string(&instance.to_json().await.unwrap()).unwrap();
3334

3435
info!("An instance has been created (template={})", template);
3536
info!("Create {}", result);

0 commit comments

Comments
 (0)