Update protocol.rs

This commit is contained in:
Thibault Sottiaux
2025-10-20 11:58:05 -07:00
committed by GitHub
parent f5af9cc8ba
commit 720c69bd03

View File

@@ -657,7 +657,7 @@ pub struct RateLimitWindow {
pub used_percent: f64,
/// Rolling window duration, in minutes.
#[ts(type = "number | null")]
pub window_minutes: Option<u64>,
pub window_minutes: Option<i64>,
/// Timestamp (Unix seconds) when the window resets.
#[ts(type = "number | null")]
pub resets_at: Option<i64>,