diff --git a/src/lib.rs b/src/lib.rs index f8460f1..1d7dc32 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -123,7 +123,7 @@ async fn ensure_details_identifier( config: &Configuration, identifier: &Arc, ) -> Result { - let details = repo.details(&identifier).await?; + let details = repo.details(identifier).await?; if let Some(details) = details { tracing::debug!("details exist"); @@ -542,7 +542,7 @@ async fn ingest_inline( client: &ClientWithMiddleware, config: &Configuration, ) -> Result<(Alias, DeleteToken, Details), Error> { - let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, &config).await?; + let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, config).await?; let alias = session.alias().expect("alias should exist").to_owned();