({ bookId, chapterId })
| 23 | }); |
| 24 | |
| 25 | export const syncOneChapter = ({ bookId, chapterId }) => |
| 26 | sendRequest(`${BASE_PATH}/books/sync-one-chapter`, { |
| 27 | body: JSON.stringify({ bookId, chapterId }), |
| 28 | }); |
| 29 | |
| 30 | export const syncAllChapters = ({ bookId }) => |
| 31 | sendRequest(`${BASE_PATH}/books/sync-all-chapters`, { |
no test coverage detected