diff --git a/hubspot3/globals.py b/hubspot3/globals.py index 54932e2..9d8a5bd 100644 --- a/hubspot3/globals.py +++ b/hubspot3/globals.py @@ -1,7 +1,7 @@ """ globals file for hubspot3 """ -__version__ = "3.2.34" +__version__ = "3.2.35" BASE_URL = "https://api.hubapi.com" diff --git a/hubspot3/lines.py b/hubspot3/lines.py index 089750a..95a62de 100644 --- a/hubspot3/lines.py +++ b/hubspot3/lines.py @@ -51,6 +51,7 @@ def update(self, line_id: int, data=None, **options) -> Dict: Update an existing line by its ID. :see: https://developers.hubspot.com/docs/methods/line-items/update-line-item """ + data = data or {} return self._call("{}".format(line_id), data=data, method="PUT", **options) def get_all(