summaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/login/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/login/index.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/login/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/login/index.tsx b/packages/merchant-backoffice-ui/src/paths/login/index.tsx
index 14322f079..6a698186a 100644
--- a/packages/merchant-backoffice-ui/src/paths/login/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/login/index.tsx
@@ -34,7 +34,7 @@ import {
} from "../../context/session.js";
import { Notification } from "../../utils/types.js";
-interface Props {}
+interface Props { }
const tokenRequest = {
scope: "write",
@@ -55,7 +55,7 @@ export function LoginPage(_p: Props): VNode {
async function doImpersonateImpl(instanceId: string) {
const result = await lib
.impersonate(instanceId)
- .createAccessTokenMerchant(token, tokenRequest);
+ .createAccessTokenBearer(token, tokenRequest);
if (result.type === "ok") {
const { token } = result.body;
logIn({ token });
@@ -80,7 +80,7 @@ export function LoginPage(_p: Props): VNode {
}
}
async function doLoginImpl() {
- const result = await lib.authenticate.createAccessTokenMerchant(
+ const result = await lib.authenticate.createAccessTokenBearer(
token,
tokenRequest,
);