File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
packages/destination-actions/src/destinations/inleads-ai Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,7 @@ import type { Settings } from './generated-types'
4
4
import track from './track'
5
5
import group from './group'
6
6
import identify from './identify'
7
- import {
8
- IntegrationBaseUrl ,
9
- IntegrationName ,
10
- IntegrationWebsite ,
11
- PartnerActionName
12
- } from './contants'
7
+ import { IntegrationBaseUrl , IntegrationName , IntegrationWebsite } from './contants'
13
8
14
9
const destination : DestinationDefinition < Settings > = {
15
10
name : IntegrationName ,
@@ -23,18 +18,18 @@ const destination: DestinationDefinition<Settings> = {
23
18
label : 'API Key' ,
24
19
description : `Your ${ IntegrationName } API Key. You can find your API Key in your ${ IntegrationWebsite } settings.` ,
25
20
type : 'string' ,
26
- format : 'password' ,
21
+ format : 'password' ,
27
22
required : true
28
23
}
29
24
} ,
30
25
testAuthentication : async ( request , { settings } ) => {
31
- const AUTH_KEY = settings . apiKey ;
26
+ const AUTH_KEY = settings . apiKey
32
27
return await request ( `${ IntegrationBaseUrl } /events/validate/key` , {
33
28
method : 'post' ,
34
29
headers : {
35
30
Authorization : `Basic ${ AUTH_KEY } `
36
31
} ,
37
- json : { apiKey : AUTH_KEY }
32
+ json : { apiKey : AUTH_KEY }
38
33
} )
39
34
}
40
35
} ,
You can’t perform that action at this time.
0 commit comments