Skip to content

Commit f23aeb8

Browse files
author
Mug
committed
Fixed Updated read markers
1 parent 7cd83c4 commit f23aeb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MangaDexAPI/API.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,10 @@ class DexFS {
501501
return APIResponseGen(req.data);
502502
}
503503
async readChapter(mangaId,readChapterIds,unreadChapterIds) {
504-
const req = await axios.post(`${CORS_BYPASS}https://api.mangadex.org/manga/${mangaId}/read`, { params: {
504+
const req = await axios.post(`${CORS_BYPASS}https://api.mangadex.org/manga/${mangaId}/read`, {
505505
chapterIdsRead: readChapterIds,
506506
chapterIdsUnread: unreadChapterIds
507-
}});
507+
});
508508
return APIResponseGen(req.data);
509509
}
510510

0 commit comments

Comments
 (0)