summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-30 12:14:32 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-30 12:14:32 +0200
commiteb6efd14c140768624db1ea0e170dd70bff62c7b (patch)
tree6eaa4f8a97895d0700145e7bdb5b20a40079cf99 /util
parent:bug: convert bigint -> string (diff)
downloadserver-eb6efd14c140768624db1ea0e170dd70bff62c7b.tar.xz
:zap: only local rate limit to prevent to much pressure on the database
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/RateLimit.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/src/entities/RateLimit.ts b/util/src/entities/RateLimit.ts
index 49af0416..fa9c32c1 100644
--- a/util/src/entities/RateLimit.ts
+++ b/util/src/entities/RateLimit.ts
@@ -1,6 +1,5 @@
-import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
+import { Column, Entity } from "typeorm";
 import { BaseClass } from "./BaseClass";
-import { User } from "./User";
 
 @Entity("rate_limits")
 export class RateLimit extends BaseClass {