diff --git a/package.json b/package.json index a31ba14..998f56e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mastodon-bot", "description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.", "author": "Dmitri Sotnikov", - "version": "1.10.5-1", + "version": "1.10.5-20210311180500", "homepage": "https://github.com/yogthos/mastodon-bot", "repository": "https://www.npmjs.com/package/mastodon-bot", "license": "MIT", diff --git a/src/main/cljs/mastodon_bot/core.cljs b/src/main/cljs/mastodon_bot/core.cljs index 891f43a..348f82d 100755 --- a/src/main/cljs/mastodon_bot/core.cljs +++ b/src/main/cljs/mastodon_bot/core.cljs @@ -86,8 +86,8 @@ (print usage) :default (let [config (infra/load-config config-location)] - (when (not (s/valid? config? config)) - (s/explain config? config) + (when (not (s/valid? cd/config? config)) + (s/explain cd/config? config) (infra/exit-with-error "Bad configuration")) (transform! config)))))))