docs: clarify Polygon auth and API contracts

This commit is contained in:
Repinoid
2026-10-25 14:20:35 +03:00
parent e3a031ce50
commit 474bfb2600
9 changed files with 128 additions and 17 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def create_instance():
Также возвращает {"instanceUid": uid} в теле — двойная защита
на случай если заголовок не дойдёт.
"""
body = request.get_json(silent=True) or {}
body = request.get_json(silent=True)
# ⛔ body должен быть dict, не массив и не примитив
if not isinstance(body, dict):