async function resyncDrupalWiki({ chunkSource }, response) {
  if (!chunkSource) throw new Error('Invalid source property provided');
  try {
    // DrupalWiki data is `payload` encrypted. So we need to expand its
    // encrypted payload back into query params so we can reFetch the page with same access token/params.
    const source = response.locals.encryptionWorker.expandPayload(chunkSource);
    const { loadPage } = require("../../utils/extensions/DrupalWiki");
    const { success, reason, content } = await loadPage({
      baseUrl: source.searchParams.get('baseUrl'),
      pageId: source.searchParams.get('pageId'),
      accessToken: source.searchParams.get('accessToken'),
    });

    if (!success) {
      console.error(`Failed to sync DrupalWiki page content. ${reason}`);
      response.status(200).json({
        success: false,
        content: null,
      });
    } else {
      response.status(200).json({ success, content });
    }
  } catch (e) {
    console.error(e);
    response.status(200).json({
      success: false,
      content: null,
    });
  }
}
Fetches the content of a specific DrupalWiki page via its chunkSource.
Returns the content as a text string of the page in question and only that page.
@param {object} data - metadata from document (eg: chunkSource)
@param {import("../../middleware/setDataSigner").ResponseWithSigner} response