fix: cid is lowercase

This commit is contained in:
Derrick Hammer 2024-03-18 14:29:30 -04:00
parent 2ee6124637
commit 8846a23b8a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ export async function uploadSmallFile(
): Promise<UploadResult> { ): Promise<UploadResult> {
const response = await this.uploadSmallFileRequest(file, customOptions); const response = await this.uploadSmallFileRequest(file, customOptions);
return { cid: CID.decode(<string>response.CID) }; return { cid: CID.decode(<string>response.cid) };
} }
/** /**
@ -288,7 +288,7 @@ export async function uploadDirectory(
customOptions, customOptions,
); );
return { cid: CID.decode(<string>response.CID) }; return { cid: CID.decode(<string>response.cid) };
} }
/** /**
@ -342,7 +342,7 @@ export async function uploadWebapp(
): Promise<UploadResult> { ): Promise<UploadResult> {
const response = await this.uploadWebappRequest(directory, customOptions); const response = await this.uploadWebappRequest(directory, customOptions);
return { cid: CID.decode(<string>response.CID) }; return { cid: CID.decode(<string>response.cid) };
} }
/** /**