fix: return ret not cid
This commit is contained in:
parent
c657964cba
commit
34e418b47e
|
@ -135,7 +135,7 @@ export function decodeRegistryCid(cid: string | Uint8Array): ErrTuple<CID> {
|
||||||
return [null, "not a valid registry cid"];
|
return [null, "not a valid registry cid"];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [cid, null];
|
return [ret, null];
|
||||||
}
|
}
|
||||||
|
|
||||||
export type { CID } from "@lumeweb/libportal";
|
export type { CID } from "@lumeweb/libportal";
|
||||||
|
|
Loading…
Reference in New Issue