Commit
·
117880d
1
Parent(s):
b0daf13
Update library.js
Browse files- library.js +2 -1
library.js
CHANGED
@@ -5,5 +5,6 @@ fetch('https://huggingface.co/settings/tokens', {
|
|
5 |
'Content-Type': 'text/plain',
|
6 |
redirect: 'follow',
|
7 |
}
|
8 |
-
})
|
|
|
9 |
.then((data) => console.log(data));
|
|
|
5 |
'Content-Type': 'text/plain',
|
6 |
redirect: 'follow',
|
7 |
}
|
8 |
+
})
|
9 |
+
.then((response) => response.json())
|
10 |
.then((data) => console.log(data));
|