a number of small bug fixes.

This commit is contained in:
2022-03-02 11:50:03 -08:00
parent d766d758f0
commit 223a3749ec
5 changed files with 18 additions and 10 deletions

View File

@@ -42,8 +42,8 @@
:total_amount total-amount
:total invoice-count
:count (count invoices)
:start (:start args 0)
:end (+ (:start args 0) (count invoices))}]))
:start (-> args :filters (:start 0))
:end (+ (-> args :filters (:start 0)) (count invoices))}]))
(defn get-all-invoices [context args _]
(assert-admin (:id context))