Fix linting problems. Remove comment of code. Add package.

This commit is contained in:
gaba
2016-11-09 13:52:47 -08:00
parent c2f450d969
commit d7ea18cba9
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const handleResp = res => {
if (res.status === 401) {
throw new Error('Not Authorized to make this request');
} else if (res.status > 399) {
throw new Error('Error! Status ' + res.status);
throw new Error('Error! Status ', res.status);
} else if (res.status === 204) {
return res.text();
} else {