fixes additional paths that vscode did not auto update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const passport = require('passport');
|
||||
const httpStatus = require('http-status');
|
||||
const { Forbidden } = require('../errors');
|
||||
const formatErrorResponse = require('../responses/formatError');
|
||||
const formatErrorResponse = require('../express/responses/formatError');
|
||||
|
||||
const requireAuth = (req, res, next) => {
|
||||
if (!req.user) {
|
||||
|
||||
@@ -2,7 +2,7 @@ const jwt = require('jsonwebtoken');
|
||||
const passport = require('passport');
|
||||
const httpStatus = require('http-status');
|
||||
const APIError = require('../errors/APIError');
|
||||
const formatErrorResponse = require('../responses/formatError');
|
||||
const formatErrorResponse = require('../express/responses/formatError');
|
||||
|
||||
module.exports = (config, User) => ({
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const httpStatus = require('http-status');
|
||||
const formatErrorResponse = require('../../responses/formatError');
|
||||
const formatSuccessResponse = require('../../responses/formatSuccess');
|
||||
const formatErrorResponse = require('../../express/responses/formatError');
|
||||
const formatSuccessResponse = require('../../express/responses/formatSuccess');
|
||||
const { NotFound } = require('../../errors');
|
||||
|
||||
const update = (req, res) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const httpStatus = require('http-status');
|
||||
const { NotFound } = require('../errors');
|
||||
const formatErrorResponse = require('../responses/formatError');
|
||||
const formatErrorResponse = require('../express/responses/formatError');
|
||||
|
||||
const upsert = (req, res) => {
|
||||
const { slug } = req.global;
|
||||
|
||||
Reference in New Issue
Block a user