Description
I think the recent update to the site API two days back it broke the package.
Code
nlm.api.ts:110 GET https://nhentai.net/api/gallery/?sort=637127 404 (Not Found)
(anonymous) @ nhentai-update.js?v=85daab6d:312
(anonymous) @ nhentai-update.js?v=85daab6d:296
__awaiter @ nhentai-update.js?v=85daab6d:278
fetch @ nhentai-update.js?v=85daab6d:311
(anonymous) @ nhentai-update.js?v=85daab6d:356
(anonymous) @ nhentai-update.js?v=85daab6d:296
__awaiter @ nhentai-update.js?v=85daab6d:278
fetchDoujin @ nhentai-update.js?v=85daab6d:348
nhFetcher @ nlm.api.ts:110
fetchAndAdd @ nlm.api.ts:387
await in fetchAndAdd
handleAdd @ AddModal.tsx:42
(anonymous) @ chunk-2AZOZOMR.js?v=85daab6d:134
AddModal.tsx:45 Failed to add 637127 SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
handleAdd @ AddModal.tsx:45
await in handleAdd
(anonymous) @ chunk-2AZOZOMR.js?v=85daab6d:134
Expected vs. Current behavior
fetch should return a json but its returning html
Description
I think the recent update to the site API two days back it broke the package.
Code
Expected vs. Current behavior
fetch should return a json but its returning html