Skip to content

Commit

Permalink
Fixed ticket properties #5
Browse files Browse the repository at this point in the history
  • Loading branch information
William Hunt committed Nov 15, 2019
1 parent 27debd5 commit 270eab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hubspot3/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get(
TODO: add properties support
:see: https://developers.hubspot.com/docs/methods/tickets/get_ticket_by_id
"""
properties = properties or ["subject","content","hs_pipeline","hs_pipeline_stage"]
properties = properties or ["subject", "content", "hs_pipeline", "hs_pipeline_stage"]

params = options.pop("params", {})
params.update({"includeDeletes": include_deleted})
Expand All @@ -70,7 +70,7 @@ def get_all(self, properties: list = None, limit: int = -1, **options) -> list:
Get all tickets in hubspot
:see: https://developers.hubspot.com/docs/methods/tickets/get-all-tickets
"""
properties = properties or ["subject","content","hs_pipeline","hs_pipeline_stage"]
properties = properties or ["subject", "content", "hs_pipeline", "hs_pipeline_stage"]

finished = False
output = [] # type: list
Expand Down

0 comments on commit 270eab6

Please sign in to comment.