mirror of
https://github.com/bartvdbraak/keyweave.git
synced 2025-04-28 15:21:21 +00:00
fix: formatting of tx.send()
This commit is contained in:
parent
cd7f7f59ab
commit
407463d70b
1 changed files with 4 additions and 2 deletions
|
@ -68,7 +68,9 @@ async fn fetch_secrets_from_key_vault(
|
||||||
// Handle the result and send it through the channel
|
// Handle the result and send it through the channel
|
||||||
match secret_bundle {
|
match secret_bundle {
|
||||||
Ok(bundle) => {
|
Ok(bundle) => {
|
||||||
tx.send((secret_id, bundle.value)).await.expect("Send error");
|
tx.send((secret_id, bundle.value))
|
||||||
|
.await
|
||||||
|
.expect("Send error");
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
eprintln!("Error fetching secret: {}", err);
|
eprintln!("Error fetching secret: {}", err);
|
||||||
|
|
Loading…
Reference in a new issue