async function fetchGleanSchema()

in functions/schemaLoader.js [50:56]


async function fetchGleanSchema(hash) {
  const schemaUrl = "https://raw.githubusercontent.com/mozilla-services/mozilla-pipeline-schemas/" +
    hash + "/schemas/glean/glean/glean.1.schema.json";
  return axios.get(schemaUrl)
    .then(response => JSON.stringify(response.data))
    .catch(error => console.error(error));
}