summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/users/groups/update.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/users/groups/update.ts')
-rw-r--r--src/server/api/endpoints/users/groups/update.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/api/endpoints/users/groups/update.ts b/src/server/api/endpoints/users/groups/update.ts
index bc974621a3..2fc0a803a1 100644
--- a/src/server/api/endpoints/users/groups/update.ts
+++ b/src/server/api/endpoints/users/groups/update.ts
@@ -3,7 +3,6 @@ import { ID } from '../../../../../misc/cafy-id';
import define from '../../../define';
import { ApiError } from '../../../error';
import { UserGroups } from '../../../../../models';
-import { types, bool } from '../../../../../misc/schema';
export const meta = {
desc: {
@@ -36,8 +35,8 @@ export const meta = {
},
res: {
- type: types.object,
- optional: bool.false, nullable: bool.false,
+ type: 'object' as const,
+ optional: false as const, nullable: false as const,
ref: 'UserGroup',
},