Исправление точки API

This commit is contained in:
Your Name 2024-12-04 12:19:48 +03:00
parent 63309cc094
commit f6e107580b

View File

@ -165,7 +165,7 @@ class Del_fp_user(BaseModel):
nick: str nick: str
token: str token: str
fp_id: str fp_id: str
@app.post('/api/del_fp_user/') @app.post('/api/del_fp/')
def del_fp_user(request: Request, it: Del_fp_user): def del_fp_user(request: Request, it: Del_fp_user):
if too_fast(request): if too_fast(request):
raise HTTPException(status_code=randint(100,999), detail=f"{choice(FAKE_TEXTS)}") raise HTTPException(status_code=randint(100,999), detail=f"{choice(FAKE_TEXTS)}")