diff options
| author | Conrad Ludgate <conrad.ludgate@truelayer.com> | 2022-04-22 21:14:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-22 20:14:23 +0000 |
| commit | 7436e4ff651b64d4019a59d04c30c414ae220403 (patch) | |
| tree | 3d5e35df1bce075ae04be63d76f9edc8cc17c6cb /atuin-client/src/api_client.rs | |
| parent | History filter (#329) (diff) | |
| download | atuin-7436e4ff651b64d4019a59d04c30c414ae220403.zip | |
feature-flags (#328)
* use feature flags
* fmt
* fix features
* update ci
* fmt
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Diffstat (limited to 'atuin-client/src/api_client.rs')
| -rw-r--r-- | atuin-client/src/api_client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/api_client.rs b/atuin-client/src/api_client.rs index 171012ac..d907265b 100644 --- a/atuin-client/src/api_client.rs +++ b/atuin-client/src/api_client.rs @@ -38,7 +38,7 @@ pub async fn register( map.insert("password", password); let url = format!("{}/user/{}", address, username); - let resp = reqwest::blocking::get(url)?; + let resp = reqwest::get(url).await?; if resp.status().is_success() { bail!("username already in use"); |
