File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change
1
+ v20.14.0
Original file line number Diff line number Diff line change @@ -414,36 +414,33 @@ const isLoading = ref(false)
414
414
415
415
*/
416
416
const GROUP_ID = {
417
- cryptoKB: ' 130219086964590230 ' ,
418
- market: ' 130219093858977184 ' ,
419
- productUpdates: ' 130219101849126213 '
417
+ cryptoKB: ' CRYPTO_KB ' ,
418
+ market: ' MARKET ' ,
419
+ productUpdates: ' PRODUCT_UPDATES '
420
420
}
421
421
422
422
const finishSignUP = async () => {
423
- const _url = ` https://connect.mailerlite.com/api/subscribers `
423
+ const _url = ` https://qa.mewwallet.dev/email-web `
424
424
425
425
const groups = []
426
426
if (checkBoxCryptoKB .value ) groups .push (GROUP_ID .cryptoKB )
427
427
if (checkBoxMarket .value ) groups .push (GROUP_ID .market )
428
428
if (checkBoxUpdates .value ) groups .push (GROUP_ID .productUpdates )
429
-
430
429
const _body = JSON .stringify ({
431
430
email: email .value ,
432
431
fields: {
433
- product_source: props .currProject ,
434
432
platform: ' web'
435
433
},
436
434
groups: [
437
435
... groups
438
- ]
436
+ ],
437
+ product: props .currProject ,
439
438
})
440
439
try {
441
440
isLoading .value = true
442
441
const response = await fetch (_url , {
443
442
method: ' POST' ,
444
443
headers: {
445
- Authorization: ` Bearer ${props .apikey } ` ,
446
- ' X-Version' : ' 2038-01-19' ,
447
444
' Content-Type' : ' application/json' ,
448
445
' Accept' : ' application/json'
449
446
},
You can’t perform that action at this time.
0 commit comments