[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] branch master updated: fix: added the missin
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] branch master updated: fix: added the missing *1000 after change from ms to us |
Date: |
Mon, 09 May 2022 18:43:49 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant-backoffice.
The following commit(s) were added to refs/heads/master by this push:
new 0c812b2 fix: added the missing *1000 after change from ms to us
0c812b2 is described below
commit 0c812b2e3bc20899cc4ff91778d4094642d51cb8
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon May 9 13:43:37 2022 -0300
fix: added the missing *1000 after change from ms to us
---
packages/merchant-backoffice/src/paths/admin/create/CreatePage.tsx | 4 ++--
packages/merchant-backoffice/src/paths/instance/update/UpdatePage.tsx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/merchant-backoffice/src/paths/admin/create/CreatePage.tsx
b/packages/merchant-backoffice/src/paths/admin/create/CreatePage.tsx
index 465e18f..1851e52 100644
--- a/packages/merchant-backoffice/src/paths/admin/create/CreatePage.tsx
+++ b/packages/merchant-backoffice/src/paths/admin/create/CreatePage.tsx
@@ -48,9 +48,9 @@ function with_defaults(id?: string): Partial<Entity> {
return {
id,
payto_uris: [],
- default_pay_delay: { d_us: 1000 * 60 * 60 }, // one hour
+ default_pay_delay: { d_us: 2 * 1000 * 60 * 60 * 1000 }, // two hours
default_wire_fee_amortization: 1,
- default_wire_transfer_delay: { d_us: 1000 * 2 * 60 * 60 * 24 }, // one day
+ default_wire_transfer_delay: { d_us: 1000 * 2 * 60 * 60 * 24 * 1000 }, //
two days
};
}
diff --git
a/packages/merchant-backoffice/src/paths/instance/update/UpdatePage.tsx
b/packages/merchant-backoffice/src/paths/instance/update/UpdatePage.tsx
index 7660520..4c7a511 100644
--- a/packages/merchant-backoffice/src/paths/instance/update/UpdatePage.tsx
+++ b/packages/merchant-backoffice/src/paths/instance/update/UpdatePage.tsx
@@ -58,8 +58,8 @@ function convert(
const payto_uris = accounts.filter((a) => a.active).map((a) => a.payto_uri);
const defaults = {
default_wire_fee_amortization: 1,
- default_pay_delay: { d_us: 1000 * 60 * 60 }, //one hour
- default_wire_transfer_delay: { d_us: 1000 * 60 * 60 * 2 }, //two hours
+ default_pay_delay: { d_us: 2 * 1000 * 1000 * 60 * 60 }, //two hours
+ default_wire_transfer_delay: { d_us: 2 * 1000 * 1000 * 60 * 60 * 2 },
//two hours
};
return { ...defaults, ...rest, payto_uris };
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant-backoffice] branch master updated: fix: added the missing *1000 after change from ms to us,
gnunet <=