Skip to content

Commit

Permalink
fix(regex): fix objectIdPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
withSang committed Feb 13, 2024
1 parent 2e6af9d commit 117df69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/docs/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const objectIdPattern = `^[a-fA-F\d]{24}$`;
const objectIdPattern = `^[a-fA-F\\d]{24}$`;
const roomsPattern = {
rooms: {
name: RegExp(
Expand Down

0 comments on commit 117df69

Please sign in to comment.