💄 Add minor cosmetic improvement on error report template

This commit is contained in:
Andrey Antukh 2023-08-08 09:59:57 +02:00
parent fcdf33b134
commit 63a3186e6d
4 changed files with 19 additions and 8 deletions

View file

@ -238,9 +238,9 @@
(-> (io/resource "app/templates/error-report.v2.tmpl")
(tmpl/render report)))
(render-template-v3 [{report :content}]
(render-template-v3 [{report :content id :id}]
(-> (io/resource "app/templates/error-report.v3.tmpl")
(tmpl/render report)))
(tmpl/render (assoc report :id id))))
]
(when-not (authorized? pool request)