diff --git a/src/ipfs/basic.ts b/src/ipfs/basic.ts index cbd12d488..f7f197dfa 100644 --- a/src/ipfs/basic.ts +++ b/src/ipfs/basic.ts @@ -116,9 +116,7 @@ export const size = async (cid: CID): Promise => { return stat.cumulativeSize } -export const attemptPin = async (cid: CID): Promise => { - typeCheckCID(cid) - +const attemptPin = async (cid: CID): Promise => { if (!setup.shouldPin) return const ipfs = await getIpfs()