diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-05 19:34:13 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-05 19:34:13 +0200 |
commit | 1492751d58ba74c5525d5f6e846a079ca91ad15f (patch) | |
tree | f95db213a836803a64926804a6b9b111bf9b8957 /api/src/util/route.ts | |
parent | :sparkles: add User.register() method (diff) | |
download | server-1492751d58ba74c5525d5f6e846a079ca91ad15f.tar.xz |
:art: move field error to util
Diffstat (limited to 'api/src/util/route.ts')
-rw-r--r-- | api/src/util/route.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/route.ts b/api/src/util/route.ts index 3e967e2a..e4794eb5 100644 --- a/api/src/util/route.ts +++ b/api/src/util/route.ts @@ -3,6 +3,7 @@ import { EVENT, Event, EventData, + FieldErrors, FosscordApiErrors, getPermission, PermissionResolvable, @@ -15,7 +16,6 @@ import fs from "fs"; import path from "path"; import Ajv from "ajv"; import { AnyValidateFunction } from "ajv/dist/core"; -import { FieldErrors } from ".."; import addFormats from "ajv-formats"; const SchemaPath = path.join(__dirname, "..", "..", "assets", "schemas.json"); |