From f2a10b07b32b114b002a64614fec491e063dc35c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 17 Feb 2021 13:46:19 +0100 Subject: [PATCH] settings --- packages/dashboard/src/pages/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/src/pages/settings.js b/packages/dashboard/src/pages/settings.js index 99b38090..2e8f482c 100644 --- a/packages/dashboard/src/pages/settings.js +++ b/packages/dashboard/src/pages/settings.js @@ -1,9 +1,9 @@ // import Link from "next/link"; -import { Configuration, PublicApi } from "@ory/kratos-client"; +import { Configuration, AdminApi } from "@ory/kratos-client"; import config from "../config"; // import Message from "../components/Form/Message"; -const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public })); +const kratos = new AdminApi(new Configuration({ basePath: config.kratos.public })); export async function getServerSideProps(context) { const flow = context.query.flow;