fix(electron): linting errors

This commit is contained in:
Johannes Millan 2019-01-19 11:31:49 +01:00
parent 4402ecacab
commit c2bce87d0f
2 changed files with 2 additions and 4 deletions

View file

@ -30,9 +30,7 @@ const oauth2Client = new google.auth.OAuth2(
'urn:ietf:wg:oauth:2.0:oob'
);
/**
* This is one of the many ways you can configure googleapis to use authentication credentials. In this method, we're setting a global reference for all APIs. Any other API you use here, like google.drive('v3'), will now use this auth client. You can also override the auth client at the service and method call levels.
*/
google.options({auth: oauth2Client});
async function authenticate(refreshToken) {

View file

@ -32,7 +32,7 @@ export const sendJiraRequest = (request) => {
config.protocol = 'https';
}
let jira = new JiraApi({
const jira = new JiraApi({
protocol: config.protocol,
host: config.host,
port: config.port,