We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6aac5c + ad74d83 commit a13a40bCopy full SHA for a13a40b
1 file changed
osc/gitea_api/issue_timeline_entry.py
@@ -10,6 +10,9 @@
10
11
class IssueTimelineEntry(GiteaModel):
12
def __init__(self, *args, **kwargs):
13
+ if args and args[0] is None:
14
+ # gitea sometimes returns `null` instead of a timeline entry, this prevents a crash
15
+ args = [{}] + list(args[1:])
16
super().__init__(*args, **kwargs)
17
self._pull_request_review_cache = None
18
0 commit comments