refactor: move rate limiter into http layer

This commit is contained in:
2026-06-13 06:39:42 +02:00
parent 0f195de9e5
commit 6fc5cc1bc8
4 changed files with 6 additions and 5 deletions

View File

@@ -3,9 +3,8 @@ use axum::{
http::{Request, StatusCode, header::HeaderName},
};
use pokedex_api::{
http::{AppState, create_app},
http::{AppState, RateLimiter, create_app},
pokemon::PokeApiClient,
rate_limit::RateLimiter,
service::PokedexService,
telemetry::Telemetry,
translation::TranslationClient,