coyotte508 HF Staff commited on
Commit
d568eb7
·
1 Parent(s): e6c40b4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -4,7 +4,7 @@ async function createApiError(res) {
4
  throw new Error (await res.text());
5
  }
6
 
7
- function hexFromBytes(arr: Uint8Array): string {
8
  if (globalThis.Buffer) {
9
  return globalThis.Buffer.from(arr).toString("hex");
10
  } else {
 
4
  throw new Error (await res.text());
5
  }
6
 
7
+ function hexFromBytes(arr: Uint8Array) {
8
  if (globalThis.Buffer) {
9
  return globalThis.Buffer.from(arr).toString("hex");
10
  } else {