mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 09:03:15 +00:00
fix: Doc type
This commit is contained in:
@@ -50,9 +50,9 @@ export default function CreateAPIKeyModal({
|
||||
};
|
||||
}
|
||||
return {
|
||||
name: doc.name as string,
|
||||
id: doc.docLink as string,
|
||||
type: 'default',
|
||||
name: doc.name,
|
||||
id: doc.id ?? 'default',
|
||||
type: doc.type ?? 'default',
|
||||
};
|
||||
})
|
||||
: [];
|
||||
|
||||
Reference in New Issue
Block a user