We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e8a9a commit b55556fCopy full SHA for b55556f
1 file changed
api/v1/breaches.py
@@ -309,7 +309,7 @@ async def search_data_breaches(
309
alert_record = datastore_client.get(alert_key)
310
311
# Always check shieldOn first (privacy - can't cache this)
312
- if alert_record and alert_record.get("shieldOn", False):
+ if alert_record and alert_record.get("shieldOn", False) and not token:
313
raise HTTPException(status_code=404, detail="Not found")
314
315
# Validate token if provided
0 commit comments