mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
chore: merge function util/with-time and util/with-time-number
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
(defn add-q!
|
||||
[k query time inputs result-atom transform-fn query-fn inputs-fn]
|
||||
(let [time' (int (util/safe-parse-float time))]
|
||||
(let [time' (int (util/safe-parse-float time))] ;; for robustness. `time` should already be float
|
||||
(swap! query-state assoc k {:query query
|
||||
:query-time time'
|
||||
:inputs inputs
|
||||
|
||||
Reference in New Issue
Block a user