Skip to content

Commit 7b137ff

Browse files
committed
Merge pull request drone29a#12 from jpalmucci/master
not working for queries that change under url-encoding
2 parents 02c7af5 + 8dd3ce8 commit 7b137ff

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/twitter.clj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,14 @@ take any required and optional arguments and call the associated Twitter method.
6969
((first x#)
7070
rest-map#)})
7171
optional-query-param-names-mapping#)))
72-
need-to-url-encode# (if (= :get ~req-method)
73-
(into {}
74-
(map (fn [[k# v#]]
75-
[k#
76-
(oauth.signature/url-encode v#)])
77-
query-params#))
78-
query-params#)
7972
oauth-creds# (when (and *oauth-consumer*
8073
*oauth-access-token*)
8174
(oauth/credentials *oauth-consumer*
8275
*oauth-access-token*
8376
*oauth-access-token-secret*
8477
~req-method
8578
req-uri#
86-
need-to-url-encode#))]
79+
query-params#))]
8780
(~handler (~(symbol "http" (name req-method))
8881
req-uri#
8982
:query (merge query-params#

0 commit comments

Comments
 (0)