wip fix
This commit is contained in:
parent
dbf95954d5
commit
6dcf23ad74
File diff suppressed because one or more lines are too long
|
|
@ -108,6 +108,7 @@ const cachedQueryResult: Record<
|
||||||
> = {};
|
> = {};
|
||||||
|
|
||||||
export const fetchSendDb = async (params: any, dburl: string) => {
|
export const fetchSendDb = async (params: any, dburl: string) => {
|
||||||
|
try {
|
||||||
const base = new URL(dburl);
|
const base = new URL(dburl);
|
||||||
base.pathname = `/_dbs`;
|
base.pathname = `/_dbs`;
|
||||||
if (params.table) {
|
if (params.table) {
|
||||||
|
|
@ -133,4 +134,5 @@ export const fetchSendDb = async (params: any, dburl: string) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return await cached.promise;
|
return await cached.promise;
|
||||||
|
} catch (e) {}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue