Edit reserved webhook message

This commit is contained in:
Mubelotix
2025-08-04 16:39:34 +02:00
parent 3b0f576d56
commit 3b26d64a5d

View File

@ -186,7 +186,7 @@ enum WebhooksError {
TooManyWebhooks, TooManyWebhooks,
#[error("Too many headers for the webhook `{0}`. Please limit the number of headers to 200.")] #[error("Too many headers for the webhook `{0}`. Please limit the number of headers to 200.")]
TooManyHeaders(Uuid), TooManyHeaders(Uuid),
#[error("Cannot edit webhook `{0}`. Webhooks prefixed with an underscore are reserved and may not be modified using the API.")] #[error("Cannot edit webhook `{0}`. The webhook defined from the command line cannot be modified using the API.")]
ReservedWebhook(Uuid), ReservedWebhook(Uuid),
#[error("Webhook `{0}` not found.")] #[error("Webhook `{0}` not found.")]
WebhookNotFound(Uuid), WebhookNotFound(Uuid),