Fix error import

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-12 17:39:00 +02:00
parent dd4ea6f488
commit 0ca8e2dc7d
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
6 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ import LZString from 'lz-string'
// core
import { logger } from './logger'
import { Note, User } from './models'
import errors from './errors'
import { errors } from './errors'
// public

View file

@ -8,7 +8,7 @@ import { logger } from './logger'
import { NoteUtils } from './web/note/util'
import errors from './errors'
import { errors } from './errors'
import path from 'path'

View file

@ -3,7 +3,7 @@ import { Response } from 'express'
import { Note, Revision } from '../../models'
import { logger } from '../../logger'
import { config } from '../../config'
import errors from '../../errors'
import { errors } from '../../errors'
import shortId from 'shortid'
import moment from 'moment'
import querystring from 'querystring'

View file

@ -1,7 +1,7 @@
import { NextFunction, Request, Response } from 'express'
import { NoteUtils } from './util'
import * as ActionController from './actions'
import errors from '../../errors'
import { errors } from '../../errors'
import { config } from '../../config'
import { logger } from '../../logger'
import { User, Note } from '../../models'

View file

@ -1,6 +1,6 @@
import { NextFunction, Response } from "express";
import { NoteUtils } from "./util";
import errors from '../../errors';
import { errors } from '../../errors'
import { logger } from '../../logger'
import { config } from '../../config'
import { User } from "../../models/user";

View file

@ -3,7 +3,7 @@ import { Response } from 'express'
import path from 'path'
import fs from 'fs'
import errors from '../../errors'
import { errors } from '../../errors'
import { config } from '../../config'
import { logger } from '../../logger'
import { Note , User } from '../../models'