* Fetch issue details.
(number, { useCache = true } = {})
| 118 | * Fetch issue details. |
| 119 | */ |
| 120 | async getIssue(number, { useCache = true } = {}) { |
| 121 | return await this.#restRequest({ |
| 122 | method: 'GET', |
| 123 | endpoint: `/repos/${this.owner}/${this.name}/issues/${number}`, |
| 124 | useCache, |
| 125 | }); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * List all comments on a PR: issue comments + PR review (inline) comments. |
no test coverage detected