| 21 | } |
| 22 | |
| 23 | interface GitHubReaction { |
| 24 | user: { id: number }; |
| 25 | content: string; |
| 26 | } |
| 27 | |
| 28 | async function githubRequest<T>(endpoint: string, token: string, method: string = 'GET', body?: any): Promise<T> { |
| 29 | const response = await fetch(`https://api.github.com${endpoint}`, { |
nothing calls this directly
no outgoing calls
no test coverage detected