GH-584: add upc validator
This commit is contained in:
1 parent
6b83653bf6
commit
a2178bfd9b
1 file changed
+1
@@ -285,6 +285,7 @@ export default async (req, res) => {
|
||||
mid_code: Validator.string().allow(null, ""),
|
||||
material: Validator.string().allow(null, ""),
|
||||
metadata: Validator.object().optional(),
|
||||
upc: Validator.string().allow(null),
|
||||
})
|
||||
.optional(),
|
||||
metadata: Validator.object().optional(),
|
||||
|
||||
Reference in new issue
Block a user