Commit e9b652f
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 12b6c30 commit e9b652f
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
250 | 253 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
| |||
0 commit comments