From 5359ff04cf568eb6a7de2535e66372c3a7109729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Fri, 7 Aug 2026 08:02:58 +0200 Subject: [PATCH] :paperclip: Drop an unused binding in create-font-variant `create-font-variant` destructures `uploads` and never reads it: the handler passes the whole `params` map to `prepare-font-data-from-uploads`. `clj-kondo` reports it as an unused binding and exits 2, which fails the Lint step of the Backend workflow, and the Lint step runs before the tests, so no branch based on `develop` can run the backend suite at all. AI-assisted-by: mixed models --- backend/src/app/rpc/commands/fonts.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/fonts.clj b/backend/src/app/rpc/commands/fonts.clj index 6f9f9bb109..c0ca2d8da7 100644 --- a/backend/src/app/rpc/commands/fonts.clj +++ b/backend/src/app/rpc/commands/fonts.clj @@ -144,7 +144,7 @@ [:process-font/global]] ::webhooks/event? true ::sm/params schema:create-font-variant} - [{:keys [::db/pool] :as cfg} {:keys [::rpc/profile-id team-id font-id uploads] :as params}] + [{:keys [::db/pool] :as cfg} {:keys [::rpc/profile-id team-id font-id] :as params}] (teams/check-edition-permissions! pool profile-id team-id) (check-font-team-ownership! pool team-id font-id) (quotes/check! cfg {::quotes/id ::quotes/font-variants-per-team