From 736e12cd08d0f79bd9d9a65a071183f83a9d167d Mon Sep 17 00:00:00 2001 From: itqop Date: Wed, 15 Oct 2025 22:56:19 +0300 Subject: [PATCH] fix: fix colldown --- src/hubgw/api/v1/cooldowns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hubgw/api/v1/cooldowns.py b/src/hubgw/api/v1/cooldowns.py index db53c2a..1e97f26 100644 --- a/src/hubgw/api/v1/cooldowns.py +++ b/src/hubgw/api/v1/cooldowns.py @@ -28,10 +28,10 @@ async def check_cooldown( @router.put("/touch") async def touch_cooldown( key: CooldownKey, - seconds: int = Query(..., description="Cooldown duration in seconds"), - player_uuid: UUID = Query(..., description="Player UUID"), service: Annotated[CooldownsService, Depends(get_cooldowns_service)], - _: Annotated[str, Depends(verify_api_key)] + _: Annotated[str, Depends(verify_api_key)], + seconds: int = Query(..., description="Cooldown duration in seconds"), + player_uuid: UUID = Query(..., description="Player UUID") ): """Touch cooldown.""" try: