mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 09:46:25 +02:00
refactor: completely remove Local Folder connector references and update folder sync logic
This commit is contained in:
parent
493d720b89
commit
149ccb97dd
8 changed files with 60 additions and 35 deletions
|
|
@ -405,17 +405,6 @@ class ConnectorsApiService {
|
|||
);
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
// Local Folder Connector Methods
|
||||
// =============================================================================
|
||||
|
||||
indexFile = async (connectorId: number, filePath: string) => {
|
||||
return baseApiService.post(
|
||||
`/api/v1/search-source-connectors/${connectorId}/index-file`,
|
||||
undefined,
|
||||
{ body: { file_path: filePath } }
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
export type { SlackChannel, DiscordChannel };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue