mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
Fix superadmin users
This commit is contained in:
+2
-2
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user