Skip to content

Commit

Permalink
Unexport attemptPin
Browse files Browse the repository at this point in the history
  • Loading branch information
appcypher committed Mar 31, 2022
1 parent 3a2d3b1 commit e67b4f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ipfs/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ export const size = async (cid: CID): Promise<number> => {
return stat.cumulativeSize
}

export const attemptPin = async (cid: CID): Promise<void> => {
typeCheckCID(cid)

const attemptPin = async (cid: CID): Promise<void> => {
if (!setup.shouldPin) return

const ipfs = await getIpfs()
Expand Down

0 comments on commit e67b4f9

Please sign in to comment.