fixed website breaking the server

This commit is contained in:
QkoSad
2024-09-28 20:16:02 +03:00
parent 46f6280152
commit bcbffad32d
3 changed files with 3 additions and 7 deletions
+1
View File
@@ -47,6 +47,7 @@ router.post(
auth,
check("status", "Status is required").notEmpty(),
check("skills", "Skills is required").notEmpty(),
check("website", "Not a valid website").isURL(),
async (req, res) => {
const errors = validationResult(req);
if (!errors.isEmpty()) {