{"size": 317, "ext": "js", "max_stars_repo_path": "src/cms/blocks/fetcher.js", "max_stars_repo_name": "viauco/strapi-connector", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/cms/blocks/fetcher.js", "max_issues_repo_name": "viauco/strapi-connector", "max_issues_repo_issues_event_min_datetime": "2022-01-22T13:03:37.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-22T13:03:37.000Z", "max_forks_repo_path": "src/cms/blocks/fetcher.js", "max_forks_repo_name": "viauco/strapi-connector", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 22.6428571429, "max_line_length": 54, "alphanum_fraction": 0.7255520505}
import fetchWithGraphQl from '../../fetchWithGraphQl';
import cmsBlocksQuery from './query';

/**
 * Strapi: cms blocks fetcher
 */
async function fetcher({ identifiers }) {
  const query = cmsBlocksQuery({ identifiers });
  const rawData = await fetchWithGraphQl(query);
  return rawData;
}

export default fetcher;
