Skip to content

Commit 01ae7ed

Browse files
AnsonhkgCopilot
andauthored
Update packages/lit-client/src/ipfs/getIpfsId.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Anson <ansonox@gmail.com>
1 parent 71e51ed commit 01ae7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lit-client/src/ipfs/getIpfsId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const toUint8Array = (value: ArrayBuffer | ArrayBufferView): Uint8Array => {
3131
const normalizeInput = (input: SupportedInput): Uint8Array => {
3232
// Accommodate all portable input shapes while keeping the helper tree-shakeable and browser-friendly.
3333
if (typeof input === 'string') {
34-
return toUint8Array(encodeString(input));
34+
return encodeString(input);
3535
}
3636

3737
if (input instanceof Uint8Array) {

0 commit comments

Comments
 (0)