summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/users/groups/show.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/users/groups/show.ts')
-rw-r--r--src/server/api/endpoints/users/groups/show.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/api/endpoints/users/groups/show.ts b/src/server/api/endpoints/users/groups/show.ts
index 4f8374a222..643f1acf7a 100644
--- a/src/server/api/endpoints/users/groups/show.ts
+++ b/src/server/api/endpoints/users/groups/show.ts
@@ -3,7 +3,6 @@ import { ID } from '../../../../../misc/cafy-id';
import define from '../../../define';
import { ApiError } from '../../../error';
import { UserGroups, UserGroupJoinings } from '../../../../../models';
-import { types, bool } from '../../../../../misc/schema';
export const meta = {
desc: {
@@ -24,8 +23,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',
},