Commit 66174b8
fix: omit error-check for 201 responses in async_call_api (#391)
* fix: omit error-check for 201 responses in async_call_api
Skip error-checking for responses with a 201 status code in async_call_api, preventing false error raises for successful REST operations.
* Extend test
* Update aiogithubapi/client.py
---------
Co-authored-by: Joakim Sørensen <joasoe@proton.me>1 parent d9716de commit 66174b8
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
0 commit comments