Fix logic for generating both config and auth

Should trigger if both or neither flag is set
main
bom 4 days ago
parent 1f9b434154
commit b0faeab079

@ -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)

Loading…
Cancel
Save