fix it correctly...

This commit is contained in:
Juha Jeronen 2024-01-24 16:03:04 +02:00
parent 91a688ee7f
commit 915c238510
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ async function queryCollection(collectionId, source, sourceSettings, searchText,
* @returns {object} - An object that can be used as `sourceSettings` in functions that take that parameter.
*/
function extractSourceSettings(request) {
const source = String(req.body.source) || 'transformers';
const source = String(request.body.source) || 'transformers';
// Extras API settings to connect to the Extras embeddings provider
let extrasUrl = '';