a number of small bug fixes.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user