Fix logic for generating both config and auth

Should trigger if both or neither flag is set
This commit is contained in:
bom 2024-07-02 14:37:07 +02:00
parent 1f9b434154
commit b0faeab079

View file

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