fixing notification adapter

This commit is contained in:
orangecoding
2026-06-02 19:53:06 +02:00
parent 6428e7ad78
commit 34b68e1f52
2 changed files with 6 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const notificationAdapter = await Promise.all(
*/
export default async function notificationAdapterPlugin(fastify) {
fastify.get('/', async () => {
return notificationAdapter.map((adapter) => adapter.config);
return notificationAdapter.map((adapter) => adapter.config).filter(Boolean);
});
fastify.post('/try', async (request, reply) => {