code cleanup

This commit is contained in:
SaarLAN-Pissbeutel 2025-12-30 11:56:13 +00:00
parent 1b8154a74b
commit 15fe9b25bd

View file

@ -5,11 +5,6 @@ export function buildNtfyShoutrrrUrl(config: Extract<NotificationConfig, { type:
const params = new URLSearchParams();
const auth =
config.username && config.password
? `${encodeURIComponent(config.username)}:${encodeURIComponent(config.password)}@`
: "";
const auth =
config.accessToken
? `:${encodeURIComponent(config.accessToken)}@`