mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
Merge remote-tracking branch 'upstream/dev' into fix/connector
This commit is contained in:
commit
fda682c9e7
42 changed files with 2174 additions and 314 deletions
|
|
@ -164,7 +164,7 @@ class ConnectorsApiService {
|
|||
throw new ValidationError(`Invalid request: ${errorMessage}`);
|
||||
}
|
||||
|
||||
const { connector_id, queryParams } = parsedRequest.data;
|
||||
const { connector_id, queryParams, body } = parsedRequest.data;
|
||||
|
||||
// Transform query params to be string values
|
||||
const transformedQueryParams = Object.fromEntries(
|
||||
|
|
@ -177,7 +177,10 @@ class ConnectorsApiService {
|
|||
|
||||
return baseApiService.post(
|
||||
`/api/v1/search-source-connectors/${connector_id}/index?${queryString}`,
|
||||
indexConnectorResponse
|
||||
indexConnectorResponse,
|
||||
{
|
||||
body: body || {},
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue