Commit 6a188ba
committed
feat: add JWT-based fetch util for GitHub API interactions
- Added `fetch_with_jwt` function to streamline API calls with JWT authentication.
- Updated `get_delivery`, `list_deliveries`, and `redeliver` methods to utilize the new JWT fetch functionality, enhancing security and code reuse.
- Refactored `get_installation_token` and `get_installation` methods to leverage `fetch_with_jwt`, simplifying the code and improving maintainability.1 parent 1784fad commit 6a188ba
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
| |||
185 | 191 | | |
186 | 192 | | |
187 | 193 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 194 | + | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments