MCPcopy Create free account
hub / github.com/async-labs/builderbook / syncOneChapter

Function syncOneChapter

lib/api/admin.js:25–28  ·  view source on GitHub ↗
({ bookId, chapterId })

Source from the content-addressed store, hash-verified

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

Callers 1

handleSyncOneChapterFunction · 0.90

Calls 1

sendRequestFunction · 0.70

Tested by

no test coverage detected