From a14a71c222b8d74f1c49361101c03fb65bc2bd37 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 21 Dec 2020 09:11:20 +0100 Subject: [PATCH] :fire: Remove unused code. --- backend/src/app/http/errors.clj | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/src/app/http/errors.clj b/backend/src/app/http/errors.clj index 7d6a1bb09..b95bdbbc8 100644 --- a/backend/src/app/http/errors.clj +++ b/backend/src/app/http/errors.clj @@ -42,12 +42,6 @@ {:status 400 :body error}))) -(defmethod handle-exception :ratelimit - [_ _] - {:status 429 - :headers {"retry-after" 1000} - :body ""}) - (defmethod handle-exception :not-found [err _] (let [response (ex-data err)]