Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sorochak committed Nov 3, 2023
1 parent 71ca90a commit 5ad06f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils/recordToDataCite.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import regions from "../regions";

function recordToDataCite(metadata, language, region) {

console.log(JSON.stringify(metadata));

// Reduce contacts to a list of creators
const creators = metadata.contacts ? metadata.contacts.reduce((creatorList, contact) => {
let creator;
Expand Down Expand Up @@ -216,8 +214,6 @@ function recordToDataCite(metadata, language, region) {
// Generate URL element
mappedDataCiteObject.data.attributes.url = `${regions[region].catalogueURL[language]}dataset/ca-cioos_${metadata.identifier}`;

console.log(JSON.stringify(mappedDataCiteObject))

return mappedDataCiteObject;
}

Expand Down

0 comments on commit 5ad06f2

Please sign in to comment.