feat(V2): X-Bot-Tag header obbligatorio + endpoint /admin/audit con filtri
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,11 +29,11 @@ def app(monkeypatch):
|
||||
|
||||
|
||||
def _bearer_test():
|
||||
return {"Authorization": "Bearer t_test_123"}
|
||||
return {"Authorization": "Bearer t_test_123", "X-Bot-Tag": "test-bot"}
|
||||
|
||||
|
||||
def _bearer_live():
|
||||
return {"Authorization": "Bearer t_live_456"}
|
||||
return {"Authorization": "Bearer t_live_456", "X-Bot-Tag": "test-bot"}
|
||||
|
||||
|
||||
# ── Spy helpers ──────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user