Fix more lint errors

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2018-10-11 21:54:53 -05:00
parent a2944c9faa
commit 58488c076e
No known key found for this signature in database
GPG key ID: 37419210002890EF
2 changed files with 6 additions and 6 deletions

View file

@ -56,12 +56,12 @@ class ScalarAuthClient {
// Something went wrong - try to get a new token.
console.warn("Registering for new scalar token");
return this.registerForToken();
})
});
}
}
validateToken(token) {
let url = SdkConfig.get().integrations_rest_url + "/account";
const url = SdkConfig.get().integrations_rest_url + "/account";
return new Promise(function(resolve, reject) {
request({
@ -80,7 +80,7 @@ class ScalarAuthClient {
resolve(body.user_id);
}
});
})
});
}
registerForToken() {
@ -114,7 +114,7 @@ class ScalarAuthClient {
resolve(body.scalar_token);
}
});
})
});
}
getScalarPageTitle(url) {
@ -142,7 +142,7 @@ class ScalarAuthClient {
resolve(title);
}
});
})
});
}
/**