accidentally I have used formatter in routes file . And I don’t remember when I did this . So there is any extension which can format my routes file.
This happened .
routes.post(
"/productRestore/:id",
isAuthenticated,
checkPermission,
productRestore
);
want this
routes.post("/productRestore/:id",isAuthenticated,checkPermission,productRestore);
New contributor
Shaqeeb Shaikh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.