aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/attention.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-26 13:52:00 +0200
committerFlorian Dold <florian@dold.me>2023-05-26 13:52:00 +0200
commit96d9ea3840626f71efe38018b75748d8338565fa (patch)
treed1f04ecbb58750af79b3d0cb0420ba4fdf6d05a2 /packages/taler-wallet-core/src/operations/attention.ts
parentcd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (diff)
downloadwallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.xz
taler-util,wallet-core: make AbsoluteTime opaque
Diffstat (limited to 'packages/taler-wallet-core/src/operations/attention.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/attention.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/attention.ts b/packages/taler-wallet-core/src/operations/attention.ts
index b802b15cd..7d84b43ef 100644
--- a/packages/taler-wallet-core/src/operations/attention.ts
+++ b/packages/taler-wallet-core/src/operations/attention.ts
@@ -74,9 +74,7 @@ export async function getUserAttentions(
return;
pending.push({
info: x.info,
- when: {
- t_ms: x.createdMs,
- },
+ when: TalerPreciseTimestamp.fromMilliseconds(x.createdMs),
read: x.read !== undefined,
});
});