We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b1f286 commit 0ca2bc2Copy full SHA for 0ca2bc2
apps/meteor/app/api/server/v1/rooms.ts
@@ -287,15 +287,15 @@ API.v1.addRoute(
287
288
const saveNotificationBodySchema = ajv.compile<{
289
roomId: string;
290
- notifications: Record<string, unknown>;
+ notifications: Record<string, string>;
291
}>({
292
type: 'object',
293
properties: {
294
roomId: { type: 'string' },
295
notifications: {
296
297
minProperties: 1,
298
- additionalProperties: true,
+ additionalProperties: { type: 'string' },
299
},
300
301
required: ['roomId', 'notifications'],
0 commit comments