superboogav2: Fix broken delete endpoint (#6010)

This commit is contained in:
Raunak-Kumar7 2026-03-17 23:14:54 +05:30 committed by GitHub
parent 249861b65d
commit fffcd20f4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ class Handler(BaseHTTPRequestHandler):
elif path in ['/api/v1/delete', '/api/delete']:
metadata = body.get('metadata')
if corpus is None:
if metadata is None:
self._send_412_error("Missing parameter 'metadata'")
return