this default param does not exist

This commit is contained in:
RealBeepMcJeep 2023-08-30 12:14:02 -07:00
parent ab9594fe62
commit 691e9ee754
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ app.get('/version', function (_, response) {
}) })
//**************Kobold api //**************Kobold api
app.post("/generate", jsonParser, async function (request, response_generate = response) { app.post("/generate", jsonParser, async function (request, response_generate) {
if (!request.body) return response_generate.sendStatus(400); if (!request.body) return response_generate.sendStatus(400);
const request_prompt = request.body.prompt; const request_prompt = request.body.prompt;