summary refs log tree commit diff
path: root/util/src/entities
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
commit954700b2d5c4090fdf9d7d25beef3d6529afa8d3 (patch)
tree4d98ac01cabc73337b8b2654715ee8f445edd719 /util/src/entities
parent:bug: convert bigint -> string (diff)
downloadserver-954700b2d5c4090fdf9d7d25beef3d6529afa8d3.tar.xz
:zap: only local rate limit to prevent to much pressure on the database
Diffstat (limited to 'util/src/entities')
-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 {