Skip to content
Snippets Groups Projects
Commit 79e7dca2 authored by Cam Saül's avatar Cam Saül
Browse files

Fix misaligned parens :flushed:

parent 2925b3d1
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@
(read-check Database database)
;; try calculating the average for the query as it was given to us, otherwise with the default constraints if there's no data there.
;; if we still can't find relevant info, just default to 0
{:average (or (query/average-execution-time-ms (qputil/query-hash) query)
(query/average-execution-time-ms (qputil/query-hash) (assoc query :constraints default-query-constraints))
{:average (or (query/average-execution-time-ms (qputil/query-hash query))
(query/average-execution-time-ms (qputil/query-hash (assoc query :constraints default-query-constraints)))
0)})
(defn as-csv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment