fix: unblock production Docker build (chat query + middleware types)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-21 13:31:16 +02:00
parent ec642b057a
commit 997ccf66d7
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ export async function POST(req: NextRequest) {
normQuery.includes('presupuesto')
) {
try {
const matchNumber = query.match(/(\d+[\d\.,]*)/);
const matchNumber = userMessage.match(/(\d+[\d\.,]*)/);
let amount = 1000;
if (matchNumber) {
amount = parseFloat(matchNumber[1].replace(/\./g, '').replace(',', '.'));