Skip to content

Commit

Permalink
fix: custom hooks tokenid detect (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajgo committed Jun 21, 2024
1 parent 960cd6a commit 702ac13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/custom/cappasity-process-post-nft.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const config = {
},
};

const isDigitOnly = /[0-9]*/;
const isDigitOnly = /^[0-9]*$/;
const UINT_MIN_LENGTH = 21;

async function notifyService(fileData) {
Expand Down
2 changes: 1 addition & 1 deletion src/custom/cappasity-update-pre.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const hasAccess = require('../utils/has-access');

const isDigitOnly = /[0-9]*/;
const isDigitOnly = /^[0-9]*$/;
const UINT_MIN_LENGTH = 21;

module.exports = async function extractMetadata(username, data) {
Expand Down

0 comments on commit 702ac13

Please sign in to comment.