Commit 12b6c30
committed
fix(CursorResponse): enhance id getter to handle missing cursor id
- Updated the id getter to throw an error if the cursor id is missing, ensuring more robust error handling.
- Adjusted the retrieval of cursor id to return 0 when it is null, improving the reliability of cursor operations.
- This change aims to enhance the accuracy of responses by enforcing the presence of a valid cursor id.1 parent 324e793 commit 12b6c30
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
253 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
254 | 260 | | |
255 | 261 | | |
256 | 262 | | |
| |||
0 commit comments