0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐛 Fix incorrect metrics reference on rpc methods middleware

This commit is contained in:
Andrey Antukh 2023-04-03 23:07:34 +02:00
parent 1afecf23aa
commit 3222583a69

View file

@ -149,7 +149,7 @@
(defn- wrap-metrics
"Wrap service method with metrics measurement."
[{:keys [metrics ::metrics-id]} f mdata]
[{:keys [::mtx/metrics ::metrics-id]} f mdata]
(let [labels (into-array String [(::sv/name mdata)])]
(fn [cfg params]
(let [tp (dt/tpoint)]