Started improvement of validators and respective error messages

This commit is contained in:
rainbow napkin 2025-04-29 00:13:19 -04:00
parent 8305494915
commit a6228a9fd9
5 changed files with 180 additions and 22 deletions

View file

@ -14,6 +14,9 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
//config
const config = require('../../../../config.json');
//npm imports
const {validationResult, matchedData} = require('express-validator');