Tweak for poke

This commit is contained in:
2023-09-06 14:36:45 -07:00
parent 60668f1940
commit 039f430cd9
4 changed files with 17 additions and 8 deletions

View File

@@ -217,6 +217,7 @@
seq
(pull-many (dc/db conn)
d-clients/full-read))]
(lc/with-context {:clients (map :client/code clients)}
(handler (assoc request
:clients clients
@@ -233,7 +234,9 @@
(do
(assert-can-see-client identity (cond-> client-id
(string? client-id) (Long/parseLong)))
[client-id])
[(if (string? client-id)
(Long/parseLong client-id)
client-id)])
x-clients)
(catch Exception e
(alog/warn ::cant-access :error e