mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-09-20 04:22:24 +00:00
fix
This commit is contained in:
1 parent
f61fc71874
commit
80ada47df8
1 file changed
+1
-1
@@ -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