From 27e64ccaa86e7aab21ed7a6e06c1de2a9cec6dba Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 30 Dec 2021 23:53:33 +0100 Subject: [PATCH] :fire: Remove unused code. --- backend/resources/error-list.tmpl | 3 --- backend/src/app/http/debug.clj | 1 - 2 files changed, 4 deletions(-) diff --git a/backend/resources/error-list.tmpl b/backend/resources/error-list.tmpl index 21e6c3dae..360734e14 100644 --- a/backend/resources/error-list.tmpl +++ b/backend/resources/error-list.tmpl @@ -87,9 +87,6 @@ {% for item in items %}
  • {{item.created-at}}
  • {% endfor %} - {% for item in items %} -
  • {{item.created-at}}
  • - {% endfor %} diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 412035383..672665ca8 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -148,7 +148,6 @@ :code :only-admins-allowed)) (let [items (db/exec! pool [sql:error-reports]) items (map #(update % :created-at dt/format-instant :rfc1123) items)] - (prn (first items)) {:status 200 :headers {"content-type" "text/html; charset=utf-8" "x-robots-tag" "noindex"}