1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

🐛 update package import to fosscord-server-util

This commit is contained in:
Flam3rboy 2021-02-09 22:13:13 +01:00
parent c083310a93
commit d8a5084255
3 changed files with 2359 additions and 13 deletions

2368
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ import { Request, Response, Router } from "express";
import { check, FieldErrors, Length } from "../../../../util/instanceOf";
import bcrypt from "bcrypt";
import jwt from "jsonwebtoken";
import { db, User } from "discord-server-util";
import { db, User } from "fosscord-server-util";
import Config from "../../../../util/Config";
import { adjustEmail } from "./register";

View File

@ -1,6 +1,6 @@
import { Request, Response, Router } from "express";
import Config from "../../../../util/Config";
import { db, trimSpecial, User, Snowflake } from "discord-server-util";
import { db, trimSpecial, User, Snowflake } from "fosscord-server-util";
import bcrypt from "bcrypt";
import { check, Email, EMAIL_REGEX, FieldErrors, Length } from "../../../../util/instanceOf";
import "missing-native-js-functions";