diff --git a/lib/queries/get-mappings-from.js b/lib/queries/get-mappings-from.js index 44e1249..ffa45f9 100644 --- a/lib/queries/get-mappings-from.js +++ b/lib/queries/get-mappings-from.js @@ -22,7 +22,7 @@ async function getMappingsFrom (args, schemes) { const url = getEntities(qids, languages, props) return httpRequest(url) - .then(res => res.entities) + .then(res => res.entities || []) .then(res => { var mappings = []