Skip to content

Commit

Permalink
fix(bug): fix validateIsin.default is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
adikari committed Jan 1, 2021
1 parent 6a25418 commit 10699c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/minimal/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const validateIsin = require('isin-validator');

module.exports.handler = (event, context, callback) => {
const isInvalid = validateIsin.default(event.pathParameters.isin);
const isInvalid = validateIsin(event.pathParameters.isin);

callback(null, {
statusCode: 200,
Expand Down

0 comments on commit 10699c4

Please sign in to comment.