Commit aed74e1
maro114510
fix: Address Copilot code review suggestions
- Fix djb2 hash: change no-op `hash & hash` to `hash | 0` for proper 32-bit conversion
- Implement reload setting: respect `settings.reload` instead of always reloading
- Add JSON parse error handling: wrap response.json() in try/catch with FeedlyError
- Remove redundant token check: getUserId() already triggers token validation via feedlyApiRequest()1 parent bb87da1 commit aed74e1
1 file changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| |||
362 | 369 | | |
363 | 370 | | |
364 | 371 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 372 | + | |
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| |||
790 | 793 | | |
791 | 794 | | |
792 | 795 | | |
793 | | - | |
794 | | - | |
| 796 | + | |
| 797 | + | |
795 | 798 | | |
796 | 799 | | |
797 | 800 | | |
| |||
0 commit comments