default param value does not exist

This commit is contained in:
RealBeepMcJeep 2023-08-30 09:23:18 -07:00
parent f3f9efb163
commit 271a429a62
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ app.post("/generate", jsonParser, async function (request, response_generate = r
});
//************** Text generation web UI
app.post("/generate_textgenerationwebui", jsonParser, async function (request, response_generate = response) {
app.post("/generate_textgenerationwebui", jsonParser, async function (request, response_generate) {
if (!request.body) return response_generate.sendStatus(400);
console.log(request.body);