From c4138a8c45bbdb586571f172a81edcc4e7f0e2c4 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Fri, 21 Jul 2023 20:18:59 +0200 Subject: [PATCH] fix one-off key creation --- src/components/SetupKeyNew.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SetupKeyNew.tsx b/src/components/SetupKeyNew.tsx index 9b3c462..0b78f34 100644 --- a/src/components/SetupKeyNew.tsx +++ b/src/components/SetupKeyNew.tsx @@ -78,7 +78,7 @@ const SetupKeyNew = () => { return { id: formSetupKey.id, name: formSetupKey.name, - type: formSetupKey.type ? formSetupKey.type : "reusable", + type: formSetupKey.type ? formSetupKey.type : "one-off", auto_groups: existingGroups, revoked: formSetupKey.revoked, groupsToCreate: groupsToCreate,