Skip to content

Commit c638248

Browse files
fix: send user mails to correct eloqua form
Due to changes in the eloqua forms, when user wants to subscribe for NativeScript newsletter, we need to send the data to `NativeScript_IncludeinEmail` form instead of the previously used `dev_uins_cli` form.
1 parent 093c36e commit c638248

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/services/subscription-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class SubscriptionService implements ISubscriptionService {
5252
private async sendEmail(email: string): Promise<void> {
5353
if (email) {
5454
const postData = queryString.stringify({
55-
'elqFormName': "dev_uins_cli",
55+
'elqFormName': "NativeScript_IncludeinEmail",
5656
'elqSiteID': '1325',
5757
'emailAddress': email,
5858
'elqCookieWrite': '0'

test/services/subscription-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ describe("subscriptionService", () => {
249249
const email = "[email protected]";
250250

251251
const postData = stringify({
252-
'elqFormName': "dev_uins_cli",
252+
'elqFormName': "NativeScript_IncludeinEmail",
253253
'elqSiteID': '1325',
254254
'emailAddress': email,
255255
'elqCookieWrite': '0'

0 commit comments

Comments
 (0)