Commit fa0aa32
committed
[octocrab] Make some fields optional...
It looks like the CommitComparison's base_commit object uses Commit for its type, which as of recently(ish), requires repository and score. These however are not returned in the commit object from github (https://docs.github.com/en/rest/commits/commits?apiVersion=2026-03-10 seems to not have a repository object, even an optional one, in the base_commit). Just make those fields optional for now.1 parent a27e4b2 commit fa0aa32
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments