fixed file imports and added file with extension for imports (#9)
Reviewed-on: #9 Co-authored-by: Joseph Nelson <joseph.nelson4456@gmail.com> Co-committed-by: Joseph Nelson <joseph.nelson4456@gmail.com>
This commit was merged in pull request #9.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import express from 'express'
|
||||
import { Pool } from 'pg'
|
||||
import { database } from '../../config'
|
||||
|
||||
const { check, validationResult } = require('express-validator')
|
||||
import { database } from '../../config/index.js'
|
||||
import { check, validationResult } from 'express-validator'
|
||||
|
||||
const router = express.Router()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user