diff --git a/src/ingest.rs b/src/ingest.rs index fa34cbd..47a2878 100644 --- a/src/ingest.rs +++ b/src/ingest.rs @@ -118,6 +118,7 @@ where if HashRepo::create(repo, hash.to_vec().into()).await?.is_err() { // duplicate upload store.remove(identifier).await?; + session.identifier.take(); return Ok(()); }