mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Doc } from '../models/misc';
|
||||
|
||||
export async function getDocs(): Promise<Array<Doc> | null> {
|
||||
export async function getDocs(): Promise<Doc[] | null> {
|
||||
try {
|
||||
//Fetch default source docs
|
||||
const response = await fetch(
|
||||
|
||||
Reference in New Issue
Block a user