load historical sales fix

This commit is contained in:
2024-05-18 10:10:36 -07:00
parent a7428a2d19
commit 1e797592bf

View File

@@ -34,7 +34,8 @@
(defn load-historical-sales [args]
(let [{:keys [days client]} args
client (Long/parseLong client)]
client (cond-> client
( string? client) #( Long/parseLong %))]
(historical-load-sales client days)))
(defn -main [& _]