Skip to content

Commit

Permalink
fix: get issue worklog (correct method)
Browse files Browse the repository at this point in the history
  • Loading branch information
Olegt0rr committed Aug 27, 2023
1 parent 440fcea commit 3802027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yatracker/tracker/categories/worklogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def get_issue_worklog(self, issue_id: str) -> list[Worklog]:
https://cloud.yandex.ru/docs/tracker/concepts/issues/issue-worklog
"""
data = await self._client.request(
method="PATCH",
method="GET",
uri=f"/issues/{issue_id}/worklog",
)
decoder = self._get_decoder(list[Worklog])
Expand Down

0 comments on commit 3802027

Please sign in to comment.