🐛 fix unittests

This commit is contained in:
Flam3rboy
2021-10-15 13:00:23 +02:00
parent 84024cd5bb
commit 182de09ccc
8 changed files with 28842 additions and 693 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ const request = async (path: string, opts: any = {}): Promise<any> => {
var data = await response.text();
try {
data = JSON.stringify(data);
data = JSON.parse(data);
if (response.status >= 400) throw data;
return data;
} catch (error) {