🐛 rewrite imports

This commit is contained in:
Flam3rboy
2021-03-30 15:37:54 +02:00
parent 0d0dd4f6b8
commit 247ef99a21
11 changed files with 36 additions and 36 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import { Request, Response, Router } from "express";
import { check, FieldErrors, Length } from "../../../../util/instanceOf";
import { check, FieldErrors, Length } from "../../util/instanceOf";
import bcrypt from "bcrypt";
import jwt from "jsonwebtoken";
import { User, UserModel } from "fosscord-server-util";
import Config from "../../../../util/Config";
import Config from "../../util/Config";
import { adjustEmail } from "./register";
const router: Router = Router();
+2 -2
View File
@@ -1,8 +1,8 @@
import { Request, Response, Router } from "express";
import Config from "../../../../util/Config";
import Config from "../../util/Config";
import { trimSpecial, User, Snowflake, UserModel } from "fosscord-server-util";
import bcrypt from "bcrypt";
import { check, Email, EMAIL_REGEX, FieldErrors, Length } from "../../../../util/instanceOf";
import { check, Email, EMAIL_REGEX, FieldErrors, Length } from "../../util/instanceOf";
import "missing-native-js-functions";
import { generateToken } from "./login";