From 92e5cbe7117990ddad7d50845b34ef5bde8132c0 Mon Sep 17 00:00:00 2001 From: Joseph Nelson Date: Sat, 16 May 2026 22:39:42 -0700 Subject: [PATCH] fixed import issue --- src/routes/images/index.js | 2 +- src/routes/locations/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/images/index.js b/src/routes/images/index.js index 7573c44..4439ba7 100644 --- a/src/routes/images/index.js +++ b/src/routes/images/index.js @@ -2,7 +2,7 @@ import express from 'express' import { Pool } from 'pg' import { database } from '../../config' -const { check, validationResult } = require('express-validator/check') +const { check, validationResult } = require('express-validator') const router = express.Router() diff --git a/src/routes/locations/index.js b/src/routes/locations/index.js index 0baa08c..2fd32ac 100644 --- a/src/routes/locations/index.js +++ b/src/routes/locations/index.js @@ -2,7 +2,7 @@ import express from 'express' import { Pool } from 'pg' import { database } from '../../config' -const { check, validationResult } = require('express-validator/check') +const { check, validationResult } = require('express-validator') const router = express.Router()