fixed website breaking the server

This commit is contained in:
QkoSad committed 2024-09-29 00:00:52 +03:00
1 parent 46f6280152
commit bcbffad32d
3 files changed
+3 -7

No files matched your search

+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()) {