Commit 477e26c5 by jay

projectSRDCampaignKey

1 parent c04799e1
......@@ -15,7 +15,7 @@ module.exports = createCoreService("api::lead.lead", ({ strapi: Strapi }) => ({
const leadData = {
api_key: process.env.SPERTO_API_KEY,
lead_category: "W",
campaign_key: process.env.CAMPAIGN_KEY,
campaign_key: data.projectSRDCampaignKey ? data.projectSRDCampaignKey : "",
customer_name: data.fullName,
mobile1_isd: "",
mobile_no1: data.mobileNumber,
......
......@@ -155,14 +155,18 @@
"type": "text"
},
"phoneBanner": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
]
},
"projectSRDCampaignKey": {
"type": "text"
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!