Skip to content
Snippets Groups Projects
Commit 4b9d7b78 authored by Mike Lynch's avatar Mike Lynch
Browse files

The make_license handler in datapub -> CATALOG.json was always returning an

empty array, whether there was a license in the source or not.
parent 450233d2
Branches
Tags
No related merge requests found
......@@ -586,7 +586,7 @@ function make_license(datapub, prefix) {
'url': datapub['license_identifier']
});
}
return [];
return licenses;
}
module.exports = {
......
......@@ -53,7 +53,7 @@ const ORG = {
'name': 'University of Technology Sydney'
};
const ALLOW_BAD_TYPES = {}; // { 'FeatureCollection': true };
const ALLOW_BAD_TYPES = { 'FeatureCollection': true };
// defining these here so that the tests know what to
// look up in the results @graph
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment