more changes to inward inventory

This commit is contained in:
gowthaman
2024-04-29 22:38:00 +05:30
parent d28a3215d1
commit 4d7f5ccdfb
6 changed files with 34 additions and 22 deletions

View File

@@ -70,7 +70,7 @@ fun main(args: Array<String>) {
before("/api/*") { ctx ->
NaiveRateLimit.requestPerTimeUnit(
ctx, appConfig.rateLimit().getOrDefault(30), TimeUnit.MINUTES
ctx, appConfig.rateLimit().getOrDefault(10000), TimeUnit.MINUTES
)
val authToken = ctx.getAuthHeader() ?: throw UnauthorizedResponse()