diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-30 12:14:32 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-30 12:14:32 +0200 |
commit | 954700b2d5c4090fdf9d7d25beef3d6529afa8d3 (patch) | |
tree | 4d98ac01cabc73337b8b2654715ee8f445edd719 /util/src/entities/RateLimit.ts | |
parent | :bug: convert bigint -> string (diff) | |
download | server-954700b2d5c4090fdf9d7d25beef3d6529afa8d3.tar.xz |
:zap: only local rate limit to prevent to much pressure on the database
Diffstat (limited to '')
-rw-r--r-- | util/src/entities/RateLimit.ts | 3 |
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 { |