Skip to content

Commit 6771597

Browse files
committed
chore: actions dev credentials removed
1 parent 41e1b62 commit 6771597

File tree

119 files changed

+437
-952
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+437
-952
lines changed

frontend-dev/src/components/AllIntegrations/ActiveCampaign/ActiveCampaign.jsx

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@ function ActiveCampaign({ formFields, setFlow, flow, allIntegURL }) {
2121
const [activeCampaingConf, setActiveCampaingConf] = useState({
2222
name: 'Active Campaign',
2323
type: 'ActiveCampaign',
24-
api_url: process.env.NODE_ENV === 'development' ? 'https://furnato.activehosted.com' : '',
25-
api_key:
26-
process.env.NODE_ENV === 'development'
27-
? 'b2b11fa4ba55b77e5d31bcc7f1ce36461efc523c3fe1536d0f37e05892c15a924e705a5f'
28-
: '',
24+
api_url: '',
25+
api_key: '',
2926
field_map: [{ formField: '', activeCampaignField: '' }],
3027
actions: {}
3128
})
32-
const nextPage = (val) => {
29+
const nextPage = val => {
3330
// setIsLoading(true)
3431
setTimeout(() => {
3532
document.getElementById('btcd-settings-wrp').scrollTop = 0
@@ -70,9 +67,7 @@ function ActiveCampaign({ formFields, setFlow, flow, allIntegURL }) {
7067
setSnackbar={setSnackbar}
7168
/>
7269
{/* STEP 2 */}
73-
<div
74-
className="btcd-stp-page"
75-
style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
70+
<div className="btcd-stp-page" style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
7671
<ActiveCampaignIntegLayout
7772
formID={formID}
7873
formFields={formFields}
@@ -96,16 +91,7 @@ function ActiveCampaign({ formFields, setFlow, flow, allIntegURL }) {
9691
<IntegrationStepThree
9792
step={step}
9893
saveConfig={() =>
99-
saveIntegConfig(
100-
flow,
101-
setFlow,
102-
allIntegURL,
103-
activeCampaingConf,
104-
navigate,
105-
'',
106-
'',
107-
setIsLoading
108-
)
94+
saveIntegConfig(flow, setFlow, allIntegURL, activeCampaingConf, navigate, '', '', setIsLoading)
10995
}
11096
isLoading={isLoading}
11197
dataConf={activeCampaingConf}

frontend-dev/src/components/AllIntegrations/Acumbamail/Acumbamail.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Acumbamail({ formFields, setFlow, flow, allIntegURL }) {
3030
type: 'Acumbamail',
3131
mainAction: '',
3232
listId: '',
33-
auth_token: process.env.NODE_ENV === 'development' ? 'sPz60EL4hoaRHJVYFSpV' : '',
33+
auth_token: '',
3434
field_map: [{ formField: '', acumbamailFormField: 'EMAIL' }],
3535
addSubsCriberFields,
3636
allActions,
@@ -78,7 +78,7 @@ function Acumbamail({ formFields, setFlow, flow, allIntegURL }) {
7878
style={{ ...(step === 2 && { width: 900, height: 'auto', overflow: 'visible' }) }}>
7979
<AcumbamailIntegLayout
8080
formFields={formFields}
81-
handleInput={(e) =>
81+
handleInput={e =>
8282
handleInput(e, acumbamailConf, setAcumbamailConf, setIsLoading, setSnackbar, formID)
8383
}
8484
acumbamailConf={acumbamailConf}

frontend-dev/src/components/AllIntegrations/AdvancedFormIntegration/AdvancedFormIntegration.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ function AdvancedFormIntegration({ formFields, setFlow, flow, allIntegURL }) {
2020
name: 'AdvancedFormIntegration Web Hooks',
2121
type: 'AdvancedFormIntegration',
2222
method: 'POST',
23-
url:
24-
process.env.NODE_ENV === 'development'
25-
? 'https://connect.advancedFormIntegration.com/workflow/sendwebhookdata/IjIyMjIxNiI_3D'
26-
: ''
23+
url: ''
2724
})
2825
const { afi } = tutorialLinks
2926

frontend-dev/src/components/AllIntegrations/AgiledCRM/Agiled.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ function Agiled({ formFields, setFlow, flow, allIntegURL }) {
6060
const [agiledConf, setAgiledConf] = useState({
6161
name: 'Agiled CRM',
6262
type: 'Agiled CRM',
63-
auth_token: process.env.NODE_ENV === 'development' ? 'ABaDKRfMUrSUda3yBToLWSHWXwDNFo' : '',
64-
brand: process.env.NODE_ENV === 'development' ? 'fahim.agiled.app' : '',
63+
auth_token: '',
64+
brand: '',
6565
field_map: [{ formField: '', agiledFormField: '' }],
6666
actionName: '',
6767
accountFields,

frontend-dev/src/components/AllIntegrations/Airtable/Airtable.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ function Airtable({ formFields, setFlow, flow, allIntegURL }) {
2828
const [airtableConf, setAirtableConf] = useState({
2929
name: 'Airtable',
3030
type: 'Airtable',
31-
auth_token:
32-
process.env.NODE_ENV === 'development'
33-
? 'patCjF7UvT0iFgvii.d58f98a1b6e7aa6436a2619561fa40eee1cda043c46c0878034ab4a778d7c10f'
34-
: '',
31+
auth_token: '',
3532
field_map: [{ formField: '', airtableFormField: '' }],
3633
airtableFields: [],
3734
bases: [],

frontend-dev/src/components/AllIntegrations/Albato/Albato.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ function Albato({ formFields, setFlow, flow, allIntegURL }) {
2121
name: 'Albato Web Hooks',
2222
type: 'Albato',
2323
method: 'POST',
24-
url:
25-
process.env.NODE_ENV === 'development'
26-
? 'https://connect.albato.com/workflow/sendwebhookdata/IjIyMjIxNiI_3D'
27-
: '',
24+
url: '',
2825
apiConsole: 'https://albato.com/app/bundle'
2926
})
3027

frontend-dev/src/components/AllIntegrations/AntApps/AntApps.jsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function AntApps({ formFields, setFlow, flow, allIntegURL }) {
2121
name: 'Ants & Apps',
2222
type: 'Ant Apps',
2323
method: 'POST',
24-
url: process.env.NODE_ENV === 'development' ? 'https://antsandapps.com/....' : '',
24+
url: '',
2525
apiConsole: 'https://my.antsandapps.com/'
2626
})
2727

@@ -39,9 +39,7 @@ function AntApps({ formFields, setFlow, flow, allIntegURL }) {
3939
{antsAndApps?.youTubeLink && (
4040
<TutorialLink title="Ants and Apps" youTubeLink={antsAndApps?.youTubeLink} />
4141
)}
42-
{antsAndApps?.docLink && (
43-
<TutorialLink title="Ants and Apps" docLink={antsAndApps?.docLink} />
44-
)}
42+
{antsAndApps?.docLink && <TutorialLink title="Ants and Apps" docLink={antsAndApps?.docLink} />}
4543

4644
<WebHooksIntegration
4745
formID={formID}
@@ -56,9 +54,7 @@ function AntApps({ formFields, setFlow, flow, allIntegURL }) {
5654
</div>
5755

5856
{/* STEP 2 */}
59-
<div
60-
className="btcd-stp-page"
61-
style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
57+
<div className="btcd-stp-page" style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
6258
<WebHooksStepTwo
6359
step={step}
6460
saveConfig={() =>

frontend-dev/src/components/AllIntegrations/Asana/Asana.jsx

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ function Asana({ formFields, setFlow, flow, allIntegURL }) {
3131
const [asanaConf, setAsanaConf] = useState({
3232
name: 'Asana',
3333
type: 'Asana',
34-
api_key:
35-
process.env.NODE_ENV === 'development'
36-
? '1/1204059769132541:4f2eba544ecafbc29df397dec56c457c'
37-
: '',
34+
api_key: '',
3835
field_map: [{ formField: '', asanaFormField: '' }],
3936
actionName: '',
4037
taskFields,
@@ -43,17 +40,8 @@ function Asana({ formFields, setFlow, flow, allIntegURL }) {
4340

4441
const saveConfig = () => {
4542
setIsLoading(true)
46-
const resp = saveIntegConfig(
47-
flow,
48-
setFlow,
49-
allIntegURL,
50-
asanaConf,
51-
navigate,
52-
'',
53-
'',
54-
setIsLoading
55-
)
56-
resp.then((res) => {
43+
const resp = saveIntegConfig(flow, setFlow, allIntegURL, asanaConf, navigate, '', '', setIsLoading)
44+
resp.then(res => {
5745
if (res.success) {
5846
toast.success(res.data?.msg)
5947
navigate(allIntegURL)
@@ -63,7 +51,7 @@ function Asana({ formFields, setFlow, flow, allIntegURL }) {
6351
})
6452
}
6553

66-
const nextPage = (pageNo) => {
54+
const nextPage = pageNo => {
6755
setTimeout(() => {
6856
document.getElementById('btcd-settings-wrp').scrollTop = 0
6957
}, 300)
@@ -111,7 +99,7 @@ function Asana({ formFields, setFlow, flow, allIntegURL }) {
11199
style={{ ...(step === 2 && { width: 900, height: 'auto', overflow: 'visible' }) }}>
112100
<AsanaIntegLayout
113101
formFields={formFields}
114-
handleInput={(e) => handleInput(e, asanaConf, setAsanaConf, setLoading, setSnackbar)}
102+
handleInput={e => handleInput(e, asanaConf, setAsanaConf, setLoading, setSnackbar)}
115103
asanaConf={asanaConf}
116104
setAsanaConf={setAsanaConf}
117105
loading={loading}

frontend-dev/src/components/AllIntegrations/AutomatorWP/AutomatorWP.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ function AutomatorWP({ formFields, setFlow, flow, allIntegURL }) {
2121
name: 'AutomatorWP Web Hooks',
2222
type: 'AutomatorWP',
2323
method: 'POST',
24-
url:
25-
process.env.NODE_ENV === 'development'
26-
? 'https://connect.automatorWP.com/workflow/sendwebhookdata/IjIyMjIxNiI_3D'
27-
: ''
24+
url: ''
2825
})
2926

3027
return (

frontend-dev/src/components/AllIntegrations/BenchMark/BenchMark.jsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ function BenchMark({ formFields, setFlow, flow, allIntegURL }) {
2121
const [benchMarkConf, setBenchMarkConf] = useState({
2222
name: 'BenchMark',
2323
type: 'BenchMark',
24-
api_secret:
25-
process.env.NODE_ENV === 'development' ? '153BA8FC-35B6-4E0B-9F3B-98052E993E49' : '',
24+
api_secret: '',
2625
field_map: [{ formField: '', benchMarkField: '' }],
2726
actions: {}
2827
})
2928

30-
const nextPage = (val) => {
29+
const nextPage = val => {
3130
// setIsLoading(true)
3231
setTimeout(() => {
3332
document.getElementById('btcd-settings-wrp').scrollTop = 0
@@ -68,9 +67,7 @@ function BenchMark({ formFields, setFlow, flow, allIntegURL }) {
6867
setSnackbar={setSnackbar}
6968
/>
7069
{/* STEP 2 */}
71-
<div
72-
className="btcd-stp-page"
73-
style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
70+
<div className="btcd-stp-page" style={{ width: step === 2 && 900, height: step === 2 && 'auto' }}>
7471
<BenchMarkIntegLayout
7572
formID={formID}
7673
formFields={formFields}

0 commit comments

Comments
 (0)