dev #14490 WPA CoffeeLike добавление в wallet вместо установки для iOS: fix url
This commit is contained in:
parent
0e38321526
commit
ccaa41ddf9
@ -109,11 +109,10 @@ export class DownloadAppDirective implements OnInit {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
).data;
|
).data;
|
||||||
console.log(accountData);
|
|
||||||
if (token && accountData.user_id) {
|
if (token && accountData.user_id) {
|
||||||
this.appleWallet.generateCard(token, accountData.user_id).subscribe({
|
this.appleWallet.generateCard(token, accountData.user_id).subscribe({
|
||||||
next: (res: any) => {
|
next: (res: any) => {
|
||||||
console.log(res);
|
|
||||||
this.document.location.href = res.url;
|
this.document.location.href = res.url;
|
||||||
},
|
},
|
||||||
error: (err) => {
|
error: (err) => {
|
||||||
|
|||||||
@ -18,8 +18,8 @@ export const environment = {
|
|||||||
measurementId: "G-RQF97ZK7R1"
|
measurementId: "G-RQF97ZK7R1"
|
||||||
},
|
},
|
||||||
version: packageJson.version,
|
version: packageJson.version,
|
||||||
appleWalletEndpoint: 'https://apple-push-notifications.it-retail.tech/apns/api',
|
appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api',
|
||||||
icardProxy: 'https://coffee-like-test.lk.crm4retail.ru/api/icard-proxy/',
|
icardProxy: 'https://coffee-like-test.lk.crm4retail.ru/api/icard-proxy/',
|
||||||
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
|
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
|
||||||
clientName: 'coffeeLike'
|
clientName: 'coffeelike'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,8 +18,8 @@ export const environment = {
|
|||||||
measurementId: 'G-RQF97ZK7R1',
|
measurementId: 'G-RQF97ZK7R1',
|
||||||
},
|
},
|
||||||
version: packageJson.version,
|
version: packageJson.version,
|
||||||
appleWalletEndpoint: 'http://192.168.0.179:4200/apns/api',
|
appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api',
|
||||||
icardProxy: 'http://192.168.0.14:4200/icard-proxy/',
|
icardProxy: 'http://localhost:4200/icard-proxy/',
|
||||||
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
|
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
|
||||||
clientName: 'coffeeLike'
|
clientName: 'coffeelike'
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user