From 7af5ceac2d64f64d91cf918727d3cdbaa04a3b8c Mon Sep 17 00:00:00 2001 From: djkato Date: Mon, 15 Jul 2024 16:02:17 +0200 Subject: [PATCH] clippy --- app-template/src/routes/webhooks.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-template/src/routes/webhooks.rs b/app-template/src/routes/webhooks.rs index 424144d..137a18b 100644 --- a/app-template/src/routes/webhooks.rs +++ b/app-template/src/routes/webhooks.rs @@ -37,6 +37,8 @@ pub async fn webhooks( .get(SALEOR_API_URL_HEADER) .context("missing saleor api url header")?; let event_type = get_webhook_event_type(&headers)?; + // In this case I disagree with this hint + #[allow(clippy::collapsible_match)] if let EitherWebhookType::Async(a) = event_type { match a { AsyncWebhookEventType::ProductUpdated