finalized server actions

This commit is contained in:
ACoolName 2024-05-23 02:32:07 +03:00
parent b25998da7f
commit 1d81974c32

View File

@ -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,
},