summary refs log tree commit diff
path: root/src/util/config
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-24 21:53:59 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:32:04 -0400
commit3fa2a954297df36d4c33186559c681d4967970b6 (patch)
treecd89fe6676ba4c009396f71a84ea9aadd013b70a /src/util/config
parentoapi: oauth2 (diff)
downloadserver-3fa2a954297df36d4c33186559c681d4967970b6.tar.xz
oapi: policies
Diffstat (limited to 'src/util/config')
-rw-r--r--src/util/config/types/subconfigurations/limits/RateLimits.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/config/types/subconfigurations/limits/RateLimits.ts b/src/util/config/types/subconfigurations/limits/RateLimits.ts
index caba740b..0ce0827c 100644
--- a/src/util/config/types/subconfigurations/limits/RateLimits.ts
+++ b/src/util/config/types/subconfigurations/limits/RateLimits.ts
@@ -16,11 +16,11 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { RouteRateLimit, RateLimitOptions } from ".";
+import { RateLimitOptions, RouteRateLimit } from ".";
 
 export class RateLimits {
 	enabled: boolean = false;
-	ip: Omit<RateLimitOptions, "bot_count"> = {
+	ip: RateLimitOptions = {
 		count: 500,
 		window: 5,
 	};