payments ssr
voiding supports bulk void. exact match id linking voidnig payments works. minor tweak.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
(ns auto-ap.ssr.indicators
|
||||
(:require [auto-ap.routes.indicators :as route]
|
||||
[auto-ap.ssr.components :as com]
|
||||
[auto-ap.ssr.utils :refer [html-response wrap-schema-enforce]]
|
||||
[auto-ap.time :as atime]
|
||||
[auto-ap.ssr.utils :refer [clj-date-schema html-response
|
||||
wrap-schema-enforce]]
|
||||
[clj-time.coerce :as c]
|
||||
[clj-time.core :as t]))
|
||||
|
||||
@@ -32,9 +32,5 @@
|
||||
(def key->handler
|
||||
{::route/days-ago (wrap-schema-enforce days-ago
|
||||
:query-schema
|
||||
[:map [:date {:optional false
|
||||
:decode/arbitrary (fn [m]
|
||||
(if (string? m)
|
||||
(c/to-date (atime/parse m atime/normal-date))
|
||||
m))}
|
||||
inst?]])})
|
||||
[:map [:date {:optional false}
|
||||
clj-date-schema ]])})
|
||||
Reference in New Issue
Block a user