Fix sms params

master
Kevin F 5 months ago
parent 1369e0b885
commit be39006ef0
  1. 1
      setup.py
  2. 2
      voipms/api/dids/sms.py

@ -13,6 +13,7 @@ setup(
author_email="danielmtesfai@gmail.com",
url="https://github.com/dtesfai/voipms-python",
license="MIT",
install_requires=['requests'],
keywords="voipms api",
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.4",

@ -13,4 +13,4 @@ class SMS():
def set(self, params={}):
self.method = "setSMS"
return self.base.request(self.method, params={})
return self.base.request(self.method, params=params)

Loading…
Cancel
Save