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

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -1,6 +1,6 @@
1
  const HUB_URL = "https://huggingface.co";
2
 
3
- function createApiError(res) {
4
  throw new Error (await res.text());
5
  }
6
 
 
1
  const HUB_URL = "https://huggingface.co";
2
 
3
+ async function createApiError(res) {
4
  throw new Error (await res.text());
5
  }
6