*Pass CID as string, not object
This commit is contained in:
parent
053e988ea8
commit
9edc8269fa
|
@ -257,7 +257,9 @@ async function handleIpnsResolve(aq: ActiveQuery) {
|
|||
|
||||
try {
|
||||
return aq.respond(
|
||||
(await IPNS.resolve(peerIdFromCID(cid), aq.callerInput?.options)).asCID
|
||||
(
|
||||
await IPNS.resolve(peerIdFromCID(cid), aq.callerInput?.options)
|
||||
).asCID.toString()
|
||||
);
|
||||
} catch (e: any) {
|
||||
aq.reject((e as Error).message);
|
||||
|
|
Loading…
Reference in New Issue