diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-06 13:06:05 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-06 13:06:05 -0300 |
commit | f062d9f774944063784907b6788a17e543a36d54 (patch) | |
tree | d1f1a71ef13cd63b55ce63df6df6f19e1872a1d2 /packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx | |
parent | bf03157b6570af6804032e206a3c60a3c7e030f3 (diff) | |
download | wallet-core-f062d9f774944063784907b6788a17e543a36d54.tar.xz |
fix #8783
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx index 4a5ab440b..a28992a2f 100644 --- a/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/admin/create/CreatePage.tsx @@ -22,7 +22,7 @@ import { Duration, TalerMerchantApi, - createAccessToken, + createRFC8959AccessTokenPlain, } from "@gnu-taler/taler-util"; import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { h, VNode } from "preact"; @@ -132,7 +132,7 @@ export function CreatePage({ onCreate, onBack, forceId }: Props): VNode { newValue.auth = newToken === null || newToken === undefined ? { method: "external" } - : { method: "token", token: createAccessToken(newToken) }; + : { method: "token", token: createRFC8959AccessTokenPlain(newToken) }; if (!newValue.address) newValue.address = {}; if (!newValue.jurisdiction) newValue.jurisdiction = {}; // remove above use conversion |