We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb7646b commit 963f49fCopy full SHA for 963f49f
apps/meteor/app/api/server/v1/commands.ts
@@ -36,6 +36,7 @@ const commandsEndpoints = API.v1.get(
36
401: validateUnauthorizedErrorResponse,
37
200: ajv.compile<{
38
command: Pick<SlashCommand, 'clientOnly' | 'command' | 'description' | 'params' | 'providesPreview'>;
39
+ success: true;
40
}>({
41
type: 'object',
42
properties: {
@@ -49,6 +50,7 @@ const commandsEndpoints = API.v1.get(
49
50
providesPreview: { type: 'boolean' },
51
},
52
required: ['command', 'providesPreview'],
53
+ additionalProperties: false,
54
55
success: {
56
type: 'boolean',
0 commit comments