Skip to content

Commit

Permalink
Remove chunk ids fix, will do that separetely
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawchord committed Oct 22, 2024
1 parent 6a3b2cf commit e57b2d3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,14 @@ pub(crate) async fn set_encodings(
if v.already_in_place {
continue;
}

let (mut chunk_ids, last_chunk) = match chunk_uploader {
let (chunk_ids, last_chunk) = match chunk_uploader {
Some(uploader) => {
uploader
.uploader_ids_to_canister_chunk_ids(&v.uploader_chunk_ids)
.await?
}
None => (vec![], None),
};

chunk_ids.sort();
operations.push(BatchOperationKind::SetAssetContent(
SetAssetContentArguments {
key: key.clone(),
Expand Down

0 comments on commit e57b2d3

Please sign in to comment.