mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
back
small improvements, bug fixes, ocd formatting,
This commit is contained in:
@@ -8,9 +8,9 @@ const typedefs = require("../typedefs");
|
||||
* @param {typedefs.Next} next
|
||||
*/
|
||||
const __validator_func = async (req, res, next) => {
|
||||
await body('field_name')
|
||||
await body("field_name")
|
||||
.notEmpty()
|
||||
.withMessage('field_name not defined in body')
|
||||
.withMessage("field_name not defined in body")
|
||||
.run(req);
|
||||
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user