Skip to content

Commit

Permalink
🚨 Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jun 20, 2024
1 parent 56838c1 commit 775bb3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { Injectable } from '@nestjs/common';
import axios from 'axios';
import { PrismaService } from '@@core/prisma/prisma.service';
import {
Action,
ActionType,
ConnectionsError,
format3rdPartyError,
throwTypedError,
} from '@@core/utils/errors';
import { LoggerService } from '@@core/logger/logger.service';
import { v4 as uuidv4 } from 'uuid';
import { EnvironmentService } from '@@core/environment/environment.service';
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/authUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const handleOAuth2Url = async (input: HandleOAuth2Url) => {
// Default URL structure
let params = `response_type=code&client_id=${encodeURIComponent(clientId)}&redirect_uri=${encodedRedirectUrl}&state=${state}`;

if(providerName == "helpscout"){
if(providerName === 'helpscout') {
params = `client_id=${encodeURIComponent(clientId)}&state=${state}`;
}

Expand Down
6 changes: 3 additions & 3 deletions packages/shared/src/connectors/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ export const CONNECTORS_METADATA: ProvidersConfig = {
active: false,
authStrategy: {
strategy: AuthStrategy.api_key,
properties: ["user_id"]
properties: ['user_id']
}
},
'intercom': {
Expand Down Expand Up @@ -679,7 +679,7 @@ export const CONNECTORS_METADATA: ProvidersConfig = {
active: false,
authStrategy: {
strategy: AuthStrategy.api_key,
properties: ["login_email"]
properties: ['login_email']
}
},
// todo
Expand Down Expand Up @@ -1193,7 +1193,7 @@ export const CONNECTORS_METADATA: ProvidersConfig = {
active: false,
authStrategy: {
strategy: AuthStrategy.api_key,
properties: ["user_id"]
properties: ['user_id']
}
},
// todo
Expand Down

0 comments on commit 775bb3f

Please sign in to comment.