Skip to content

Commit 26e95dd

Browse files
copyleftdevclaude
andcommitted
fix: remove unused import and variable in zgrok-control
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 00a0828 commit 26e95dd

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

crates/zgrok-control/src/auth/api_key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ mod tests {
361361
}
362362

363363
fn create_test_key() -> ApiKey {
364-
let (_, hash) = generate_key();
364+
let _ = generate_key();
365365
ApiKey {
366366
id: Uuid::new_v4(),
367367
account_id: Uuid::new_v4(),

crates/zgrok-control/src/db/api_keys.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ impl<S: ApiKeyStore> ApiKeyService<S> {
183183
#[cfg(test)]
184184
mod tests {
185185
use super::*;
186-
use chrono::Duration;
187186

188187
fn create_service() -> ApiKeyService<InMemoryApiKeyStore> {
189188
let store = Arc::new(InMemoryApiKeyStore::new());

0 commit comments

Comments
 (0)