Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wasdennnoch committed Mar 16, 2024
1 parent 9b88197 commit 994da22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object SharedRatelimitData {

enum class RatelimitType {
@Json(name = "global")
GLBOAL,
GLOBAL,

@Json(name = "identify")
IDENTIFY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class RatelimitClient(connection: BrokerConnection) : BrokerClient(connection) {

log.debug("Incoming {} quota request from service {}", type, service)
val provider = when (msg.type) {
SharedRatelimitData.RatelimitType.GLBOAL -> globalRatelimitProvider
SharedRatelimitData.RatelimitType.GLOBAL -> globalRatelimitProvider
SharedRatelimitData.RatelimitType.IDENTIFY -> identifyRatelimitProvider
else -> throw IllegalArgumentException("Unknown ratelimit type ${msg.type}")
}
Expand Down

0 comments on commit 994da22

Please sign in to comment.