Browse Source

fix typo

master
nitowa 2 years ago
parent
commit
6510137042
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      README.md

+ 1
- 1
README.md View File

30
 const { type, program } = req.body;
30
 const { type, program } = req.body;
31
 if (
31
 if (
32
     typeof type !== "string"
32
     typeof type !== "string"
33
-    || type.match(/^[a-zA-Z\-/]{3,}$/) === null  //<-- Any Alphanumeric(plus dashes) string with length >= 3
33
+    || type.match(/^[a-zA-Z\-/]{3,}$/) === null  //<-- Any Alphanumeric(plus dashes and slashes) string with length >= 3
34
     || typeof program.name !== "string"
34
     || typeof program.name !== "string"
35
     || typeof program.code !== "string"
35
     || typeof program.code !== "string"
36
     || program.code.length > 10000
36
     || program.code.length > 10000

Loading…
Cancel
Save