diff --git a/src/actions.tsx b/src/actions.tsx index 3ece50e..e3caacd 100644 --- a/src/actions.tsx +++ b/src/actions.tsx @@ -547,14 +547,14 @@ export const SERVER_ACTIONS: ActionInfo[] = [ response_action: "Ignore", args: { properties: { - username: { + Username: { type: "string", title: "Username", fetch_display_path: "Username", fetch_key_path: "Username", fetch_url: "/users" }, - permissions: { + Permissions: { type: "number", title: "Permissions", permissions: true, @@ -562,8 +562,11 @@ export const SERVER_ACTIONS: ActionInfo[] = [ }, type: "object", required: [ - "username" + "Username" ], + default: { + Permissions: 0 + }, title: "Set User Permissions", definitions: definitions, },