@cryptotaxi247 / CoPilot / commits / 1bd77696

fix: Update error message to specify 'SOCFORTRESS AI' as the only supported integration

Taylor committed Nov 14, 2024 at 09:24 UTC 1bd77696f2e7b95e39cd43a1a1b489184baa42e2
1 file changed +1 -1
backend/app/threat_intel/schema/socfortress.py
+1 -1
@@ -78,7 +78,7 @@ class SocfortressAiAlertRequest(BaseModel):
78 if v != "SOCFORTRESS AI":
79 raise HTTPException(
80 status_code=400,
81 - detail="Invalid integration. Only 'AI' is supported.",
81 + detail="Invalid integration. Only 'SOCFORTRESS AI' is supported.",
82 )
83 return v
84