Исправление точки API
This commit is contained in:
parent
63309cc094
commit
f6e107580b
@ -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)}")
|
||||||
|
Loading…
Reference in New Issue
Block a user