Skip to content

Commit

Permalink
Updated signature
Browse files Browse the repository at this point in the history
  • Loading branch information
caseneuve committed Oct 27, 2023
1 parent 6c4f4cf commit 3f1de86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dzira/dzira.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def add_worklog(jira: JIRA, issue, time=None, comment=None, seconds=None, **_) -
)


def get_worklog(jira: JIRA, issue: str, worklog_id: str, **_) -> Worklog:
def get_worklog(jira: JIRA, issue: str, worklog_id: str | int, **_) -> Worklog:
if work_log := jira.worklog(issue=issue, id=str(worklog_id)):
return work_log
raise Exception(f"could not find worklog {worklog_id} for issue {issue!r}")
Expand Down

0 comments on commit 3f1de86

Please sign in to comment.