diff --git a/src/main/cljc/dda/c4k_common/common.cljc b/src/main/cljc/dda/c4k_common/common.cljc index b0374c6..3caf9c6 100644 --- a/src/main/cljc/dda/c4k_common/common.cljc +++ b/src/main/cljc/dda/c4k_common/common.cljc @@ -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)