fix: consistent parameter apply for auth-objects

This commit is contained in:
Clemens 2024-07-18 09:03:38 +02:00
parent 57a9340109
commit 2154bed190

View file

@ -61,7 +61,7 @@
(let [resulting-config (merge config-defaults my-config) (let [resulting-config (merge config-defaults my-config)
both (or (and only-config only-auth) (and (not only-config) (not only-auth))) both (or (and only-config only-auth) (and (not only-config) (not only-auth)))
res-vec (cond res-vec (cond
both (concat-vec (config-objects resulting-config) (auth-objects my-auth)) both (concat-vec (config-objects resulting-config) (auth-objects my-config my-auth))
only-config (config-objects my-config) only-config (config-objects my-config)
only-auth (auth-objects my-config my-auth))] only-auth (auth-objects my-config my-auth))]
(cs/join (cs/join