mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-25 06:44:39 +01:00
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
This commit is contained in:
commit
3f36189fa0
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue