From d9cb7b53195692e8152b8a7b665d56f926007fa9 Mon Sep 17 00:00:00 2001 From: jem Date: Sat, 30 May 2020 17:51:35 +0200 Subject: [PATCH] fix twitter-auth spec --- src/main/mastodon_bot/twitter_api.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/mastodon_bot/twitter_api.cljs b/src/main/mastodon_bot/twitter_api.cljs index cd72bb5..c3db2b1 100755 --- a/src/main/mastodon_bot/twitter_api.cljs +++ b/src/main/mastodon_bot/twitter_api.cljs @@ -12,9 +12,8 @@ (s/def ::consumer_secret string?) (s/def ::access_token_key string?) (s/def ::access_token_secret string?) -(s/def ::access-keys (s/keys :req-un [::consumer_key ::consumer_secret ::access_token_key +(def twitter-auth? (s/keys :req-un [::consumer_key ::consumer_secret ::access_token_key ::access_token_secret])) -(def twitter-auth? (s/keys :req-un [::access-keys])) (s/def ::include-rts? boolean?) (s/def ::include-replies? boolean?)