mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-29 11:12:02 +01:00
Remove Internet 'Connector' that mistakenly appears on the Add Connector page
This commit is contained in:
parent
991ee79e47
commit
e50820e65e
@ -261,11 +261,11 @@ export function getSourceMetadata(sourceType: ValidSources): SourceMetadata {
|
||||
}
|
||||
|
||||
export function listSourceMetadata(): SourceMetadata[] {
|
||||
const entries = Object.entries(SOURCE_METADATA_MAP).map(
|
||||
([source, metadata]) => {
|
||||
const entries = Object.entries(SOURCE_METADATA_MAP)
|
||||
.filter(([source, _]) => source !== "not_applicable")
|
||||
.map(([source, metadata]) => {
|
||||
return fillSourceMetadata(metadata, source as ValidSources);
|
||||
}
|
||||
);
|
||||
});
|
||||
return entries;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user