fix prasi schema

This commit is contained in:
Rizky 2024-04-30 14:54:04 +07:00
parent 4b126d29f8
commit 1c9133e2f2
3 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -124,6 +124,10 @@ export const fetchSendDb = async (params: any, dburl: string) => {
}
const url = base.toString();
if (localStorage.mlsid) {
params.mlsid = localStorage.mlsid;
}
const hsum = hash_sum(params);
const cached = cachedQueryResult[hsum];

View File

@ -52,6 +52,7 @@ export const EdApiDB = ({
render();
alert("DB PULL & GENERATE: OK\nRESTART: OK");
localStorage.removeItem(`schema-md-${p.site.id}`);
localStorage.setItem(
"api-ts-" + p.site.config.api_url,
Date.now().toString()