fix: return ret not cid

This commit is contained in:
Derrick Hammer 2023-09-03 21:11:21 -04:00
parent c657964cba
commit 34e418b47e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ export function decodeRegistryCid(cid: string | Uint8Array): ErrTuple<CID> {
return [null, "not a valid registry cid"];
}
return [cid, null];
return [ret, null];
}
export type { CID } from "@lumeweb/libportal";