Skip to content

Commit 2c1eecc

Browse files
fixing broken build - inleads-ai
1 parent 07c0e89 commit 2c1eecc

File tree

1 file changed

+4
-9
lines changed
  • packages/destination-actions/src/destinations/inleads-ai

1 file changed

+4
-9
lines changed

packages/destination-actions/src/destinations/inleads-ai/index.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ import type { Settings } from './generated-types'
44
import track from './track'
55
import group from './group'
66
import identify from './identify'
7-
import {
8-
IntegrationBaseUrl,
9-
IntegrationName,
10-
IntegrationWebsite,
11-
PartnerActionName
12-
} from './contants'
7+
import { IntegrationBaseUrl, IntegrationName, IntegrationWebsite } from './contants'
138

149
const destination: DestinationDefinition<Settings> = {
1510
name: IntegrationName,
@@ -23,18 +18,18 @@ const destination: DestinationDefinition<Settings> = {
2318
label: 'API Key',
2419
description: `Your ${IntegrationName} API Key. You can find your API Key in your ${IntegrationWebsite} settings.`,
2520
type: 'string',
26-
format: 'password',
21+
format: 'password',
2722
required: true
2823
}
2924
},
3025
testAuthentication: async (request, { settings }) => {
31-
const AUTH_KEY = settings.apiKey;
26+
const AUTH_KEY = settings.apiKey
3227
return await request(`${IntegrationBaseUrl}/events/validate/key`, {
3328
method: 'post',
3429
headers: {
3530
Authorization: `Basic ${AUTH_KEY}`
3631
},
37-
json: {apiKey: AUTH_KEY}
32+
json: { apiKey: AUTH_KEY }
3833
})
3934
}
4035
},

0 commit comments

Comments
 (0)