chore: treat webhook.url as secret
This commit is contained in:
@@ -29,6 +29,7 @@ def sanitize_config(config: Config, *, show_sensitive: bool = False) -> Config:
|
|||||||
"telegram.chat_id",
|
"telegram.chat_id",
|
||||||
"discord.webhook_url",
|
"discord.webhook_url",
|
||||||
"api_server.password",
|
"api_server.password",
|
||||||
|
"webhook.url",
|
||||||
]
|
]
|
||||||
config = deepcopy(config)
|
config = deepcopy(config)
|
||||||
for key in keys_to_remove:
|
for key in keys_to_remove:
|
||||||
|
|||||||
Reference in New Issue
Block a user