This commit is contained in:
Rizky 2024-03-22 00:45:58 +07:00
parent dbf95954d5
commit 6dcf23ad74
2 changed files with 24 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -108,6 +108,7 @@ const cachedQueryResult: Record<
> = {};
export const fetchSendDb = async (params: any, dburl: string) => {
try {
const base = new URL(dburl);
base.pathname = `/_dbs`;
if (params.table) {
@ -133,4 +134,5 @@ export const fetchSendDb = async (params: any, dburl: string) => {
}
return await cached.promise;
} catch (e) {}
};