From 8f79814b3815591fa981602abacb65d5a4552652 Mon Sep 17 00:00:00 2001 From: jem Date: Wed, 13 May 2020 18:27:01 +0200 Subject: [PATCH] keep symmetry only predicate for top level elem --- src/main/mastodon_bot/core.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/mastodon_bot/core.cljs b/src/main/mastodon_bot/core.cljs index 0eb8535..855ef3d 100755 --- a/src/main/mastodon_bot/core.cljs +++ b/src/main/mastodon_bot/core.cljs @@ -22,11 +22,10 @@ (def config? (s/keys :req [::mastodon-config] :opt [::twitter ::tumblr ::rss])) -(s/def ::config config?) ;this has to stay on top - only ns-keywords can be uses in spec (defn-spec mastodon-config ::mastodon-config - [config ::config] + [config config?] (::mastodon-config config)) (defn find-config []