mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-07-26 03:19:21 +02:00
add test-the-application
This commit is contained in:
@@ -32,7 +32,7 @@ pub fn graphql_client(conn: &ConnectParams) -> gql_client::Client {
|
||||
|
||||
gql_client::Client::new_with_config(ClientConfig {
|
||||
endpoint: conn.url(),
|
||||
timeout: None,
|
||||
timeout: Some(1000),
|
||||
headers: Some(headers),
|
||||
proxy: None,
|
||||
})
|
||||
|
@@ -104,8 +104,6 @@ impl Selection {
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
dbg!(&query);
|
||||
|
||||
let resp: Option<serde_json::Value> = match basic.block_on(gql_client.query(&query)) {
|
||||
Ok(r) => r,
|
||||
Err(e) => eyre::bail!(e),
|
||||
|
Reference in New Issue
Block a user