Skip to content

Commit a4cb3f8

Browse files
committed
Fix params being ignored.
1 parent acde963 commit a4cb3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linkedin/linkedin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def make_request(self, method, url, data=None, params=None, headers=None,
160160
else:
161161
headers.update({'x-li-format': 'json', 'Content-Type': 'application/json'})
162162

163-
params = {}
163+
params = params or {}
164164
kw = dict(data=data, params=params,
165165
headers=headers, timeout=timeout)
166166

0 commit comments

Comments
 (0)