This commit is contained in:
caf 2023-01-13 10:48:28 +04:00
parent afb713a8c6
commit 84f8cb9bcb
4 changed files with 28 additions and 7 deletions

View File

@ -64,6 +64,27 @@
],
"outputHashing": "all"
},
"test": {
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,

View File

@ -276,7 +276,7 @@ notif2() {
qr_id = dat.payment[0].payload.id;
this.jsonRpcService.rpc2({
method: 'doAdminRefund',
params: { "order_id": id, "qr_id": qr_id }
params: { "order_id": id_, "qr_id": qr_id }
}, RpcService.authService, false)
.subscribe({
next: (result) => {
@ -295,7 +295,7 @@ notif2() {
} else {
this.jsonRpcService.rpc2({
method: 'doAdminRefund',
params: { "order_id": id}
params: { "order_id": id_}
}, RpcService.authService, false)
.subscribe({
next: (result) => {

View File

@ -1,5 +1,5 @@
export const environment = {
production: true,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
systemId: 'dfe16ca16a3598b812',
};

View File

@ -1,6 +1,6 @@
export const environment = {
production: true,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg-test.mydatahosting.ru/api',
systemId: 'dfe16ca16a3598b812',
};
production: true,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg-test.mydatahosting.ru/api',
systemId: 'dfe16ca16a3598b812',
};