I should go to bed...
This commit is contained in:
parent
bc99cd0910
commit
cf22e63ac5
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ const Flashii = function(baseUrl) {
|
||||||
if(status === 404)
|
if(status === 404)
|
||||||
throw new Error('Was unable to determine a server based on the requested parameters.');
|
throw new Error('Was unable to determine a server based on the requested parameters.');
|
||||||
if(status > 299)
|
if(status > 299)
|
||||||
throw new Error(`Failed to fetch recommend chat server with error code ${status}.`);
|
throw new Error(`Failed to fetch recommended chat server with error code ${status}.`);
|
||||||
|
|
||||||
return body;
|
return body;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue