From 96d9ea3840626f71efe38018b75748d8338565fa Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 26 May 2023 13:52:00 +0200 Subject: taler-util,wallet-core: make AbsoluteTime opaque --- packages/taler-wallet-core/src/operations/attention.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/taler-wallet-core/src/operations') 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, }); }); -- cgit v1.2.3