aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-04-04 16:24:55 -0300
committerSebastian <sebasjm@gmail.com>2024-04-04 16:25:08 -0300
commit072ac43b9f69807b8514eb11f8214637561a2573 (patch)
treeb5b464682589f2b80dc4d8f547e9d549a4df353a /packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx
parent01838bfcc74a2e4e828885d5ab0d6f64cc96f328 (diff)
downloadwallet-core-072ac43b9f69807b8514eb11f8214637561a2573.tar.xz
fix some API differences including whatwg-url params
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx b/packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx
index 431015d6f..8ee8608a3 100644
--- a/packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/admin/create/index.tsx
@@ -54,7 +54,7 @@ export default function Create({ onBack, onConfirm, forceId }: Props): VNode {
) => {
if (state.status !== "loggedIn") return;
try {
- await lib.management.createInstance(state.token, d);
+ await lib.instance.createInstance(state.token, d);
if (d.auth.token) {
//if auth has been updated, request a new access token
const result = await lib.authenticate.createAccessTokenBearer(