Skip to content

Commit

Permalink
Parse the data
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalazar committed Oct 4, 2023
1 parent e110584 commit 8e8aebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports.handler = async (event, context) => {
return;
}

const metadata = fs.readFileSync(`./metadata.json`);
const metadata = JSON.parse(fs.readFileSync(`./metadata.json`));

const results = metadata.data.filter(
(e) =>
Expand Down

0 comments on commit 8e8aebd

Please sign in to comment.