From 77fb6c0d88e9889199c0e859dbade53f638ddfd4 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 26 May 2023 10:09:56 -0300
Subject: fix compile

---
 packages/exchange-backoffice-ui/src/pages/Officer.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/exchange-backoffice-ui/src/pages/Officer.tsx')

diff --git a/packages/exchange-backoffice-ui/src/pages/Officer.tsx b/packages/exchange-backoffice-ui/src/pages/Officer.tsx
index 79dd8bace..39e368b37 100644
--- a/packages/exchange-backoffice-ui/src/pages/Officer.tsx
+++ b/packages/exchange-backoffice-ui/src/pages/Officer.tsx
@@ -1,4 +1,4 @@
-import { TranslatedString } from "@gnu-taler/taler-util";
+import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
 import {
   notifyError,
   notifyInfo,
@@ -47,7 +47,7 @@ export function Officer() {
       <CreateAccount
         onNewAccount={(salt, key, pwd) => {
           password.update(pwd);
-          officer.update({ salt, when: { t_ms: Date.now() }, key });
+          officer.update({ salt, when: AbsoluteTime.now(), key });
         }}
       />
     );
-- 
cgit v1.2.3

