Last active
April 13, 2022 00:27
-
-
Save bran-deb/e7b187284f80069f48fc2419e5de1e76 to your computer and use it in GitHub Desktop.
verifica el id de mongoosse en el middleware de nextjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const checkMongoIDRegExp = new RegExp("^[0-9a-fA-F]{24}$"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment