fix: fix colldown
This commit is contained in:
parent
b47d461934
commit
736e12cd08
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue