Skip to content

Commit

Permalink
fix: update config for site
Browse files Browse the repository at this point in the history
  • Loading branch information
alinarublea committed Jan 30, 2024
1 parent e8f382e commit 4276355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export const configSchema = Joi.object({
channel: Joi.string(),
}),
alerts: Joi.array().items(Joi.object({
type: Joi.string(),
type: Joi.string().required(),
byOrg: Joi.boolean(),
mentions: Joi.array().items(Joi.object({ slack: Joi.array().items(Joi.string()) })),
})),
}).unknown(true)),
});

export const DEFAULT_CONFIG = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ export default async function generateSampleData(
type: '404',
byOrg: true,
mentions: [{ slack: [`${i}-slackId`] }],
},
{
type: 'organic-keywords',
country: 'RO',
}],
},
});
Expand Down

0 comments on commit 4276355

Please sign in to comment.