Skip to content

Commit

Permalink
remove cloud assert - will likely change
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Oct 24, 2023
1 parent a19c59d commit 8b8f233
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/std_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,9 @@ impl<C: CustomTypes<StdSystem<C>>> StdSystem<C> {
context.role_id = first_role_id.to_owned();
context.role_name = first_role_meta.get("name").unwrap().as_str().unwrap().to_owned();

let res = client.post(format!("{}/network/{}/state", context.base_url, context.client_id))
client.post(format!("{}/network/{}/state", context.base_url, context.client_id))
.json(&json!({ "state": { "external": { "address": context.project_name, "appId": "vm" } } }))
.send().await.unwrap()
.text().await.unwrap();
assert!(res.starts_with(&format!("{}@{}", context.project_name, context.client_id)));
.send().await.unwrap();

let context = Arc::new(context);
let rpc_request_pipe = {
Expand Down

0 comments on commit 8b8f233

Please sign in to comment.