This commit is contained in:
jarek committed 2026-06-15 14:56:51 +02:00
1 parent d465ecfe96
commit 83c3a5ea09
85 files changed
+10118 -1046

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ export const POST: RequestHandler = async (event) => {
} else if (type === 'apprise') {
const appriseConfig = config as AppriseConfig;
if (!appriseConfig.urls?.length) {
return json({ error: 'Apprise config requires at least one URL' }, { status: 400 });
return json({ error: 'Webhook config requires at least one URL' }, { status: 400 });
}
}
+1 -1
View File
@@ -82,7 +82,7 @@ export const PUT: RequestHandler = async (event) => {
} else if (existing.type === 'apprise') {
const appriseConfig = config as AppriseConfig;
if (!appriseConfig.urls?.length) {
return json({ error: 'Apprise config requires at least one URL' }, { status: 400 });
return json({ error: 'Webhook config requires at least one URL' }, { status: 400 });
}
}
}
+1 -1
View File
@@ -29,7 +29,7 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
if (data.type === 'apprise') {
const config = data.config;
if (!config.urls?.length) {
return json({ error: 'At least one Apprise URL is required' }, { status: 400 });
return json({ error: 'At least one webhook URL is required' }, { status: 400 });
}
}