Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

fix: remove optional chaining #122

Merged
merged 2 commits into from
Jul 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion migrations/migration-9/pin-set.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function storeItems (blockstore, items) {

await blockstore.put(cid, buf)

let size = child.Links.reduce((acc, curr) => acc + (curr?.Tsize || 0), 0) + buf.length
let size = child.Links.reduce((acc, curr) => acc + (curr.Tsize || 0), 0) + buf.length

fanoutLinks[binIdx] = {
Name: '',
Expand Down