mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix(electron): linting errors
This commit is contained in:
parent
4402ecacab
commit
c2bce87d0f
2 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue