code cleanup
This commit is contained in:
parent
1b8154a74b
commit
15fe9b25bd
1 changed files with 0 additions and 5 deletions
|
|
@ -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)}@`
|
||||
|
|
|
|||
Loading…
Reference in a new issue