Skip to content

Commit

Permalink
Update rest-resource.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chonye91 authored and haimkastner committed Sep 8, 2019
1 parent de4d5f9 commit a8ec47f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/services/rest-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ class RestResource {

this.handleResponse(response, false);
} catch (error) {
console.warn('login to the admininstarion panel fail. ' + (error || ''));
throw new Error('login to the admininstarion panel fail.');
console.warn('login to the administration panel fail. ' + (error || ''));
throw new Error('login to the administration panel fail.');
}
}

Expand All @@ -143,8 +143,8 @@ class RestResource {

this.handleResponse(response);
} catch (error) {
console.warn('logout to the admininstarion panel fail. ' + (error || ''));
throw new Error('logout to the admininstarion panel fail.');
console.warn('logout to the administration panel fail. ' + (error || ''));
throw new Error('logout to the administration panel fail.');
}
}

Expand Down

0 comments on commit a8ec47f

Please sign in to comment.