mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-03 23:15:37 +00:00
commit
107cfcbe3b
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user