Skip to content

Commit fb5f5b0

Browse files
authored
Fix POST params (#55)
1 parent 796a1a7 commit fb5f5b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

synology_dsm/synology_dsm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def _execute_request(self, method, url, params, **kwargs):
252252
)
253253
resp = self._session.get(url, params=encoded_params, **kwargs)
254254
elif method == "POST":
255-
resp = self._session.post(url, pararms=params, **kwargs)
255+
resp = self._session.post(url, params=params, **kwargs)
256256

257257
self._debuglog("Request url: " + resp.url)
258258
self._debuglog("Request status_code: " + str(resp.status_code))

0 commit comments

Comments
 (0)