Add debug stuff

This commit is contained in:
Amish Shah
2016-09-04 12:31:10 +01:00
parent f23c07a08e
commit 7475f734ac
5 changed files with 8 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ class RESTMethods {
loginEmailPassword(email, password) {
return new Promise((resolve, reject) => {
this.rest.client.emit('debug', 'client launched using email and password - should use token instead');
this.rest.client.email = email;
this.rest.client.password = password;
this.rest.makeRequest('post', Constants.Endpoints.login, false, { email, password })