Skip to content

Commit aad1f3d

Browse files
Fix RateLimiter binding name (#755)
Co-authored-by: Marshall Bowers <[email protected]>
1 parent 93bfcc3 commit aad1f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/src/rate_limit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ unsafe impl Send for RateLimiter {}
2020
unsafe impl Sync for RateLimiter {}
2121

2222
impl EnvBinding for RateLimiter {
23-
const TYPE_NAME: &'static str = "RateLimiter";
23+
const TYPE_NAME: &'static str = "Ratelimit";
2424
}
2525
impl RateLimiter {
2626
pub async fn limit(&self, key: String) -> Result<RateLimitOutcome> {

0 commit comments

Comments
 (0)