From ebf6be7c04b3e0c6e8ad3254b46d0fb602a19f41 Mon Sep 17 00:00:00 2001 From: Kai Jellinghaus Date: Thu, 24 Nov 2022 19:57:28 +0100 Subject: [PATCH] Fix superadmin users --- cli/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/user.ts b/cli/user.ts index 8e9a4836d1..fc301e20ee 100644 --- a/cli/user.ts +++ b/cli/user.ts @@ -42,7 +42,7 @@ async function list(opts: GlobalOptions) { async function add( opts: GlobalOptions & { - superAdmin?: boolean; + superadmin?: boolean; company?: string; name?: string; }, @@ -55,7 +55,7 @@ async function add( requestBody: { email, password: password_final, - super_admin: opts.superAdmin ?? false, + super_admin: opts.superadmin ?? false, company: opts.company, name: opts.name, },