fix prasi schema
This commit is contained in:
parent
4b126d29f8
commit
1c9133e2f2
File diff suppressed because one or more lines are too long
|
|
@ -124,6 +124,10 @@ export const fetchSendDb = async (params: any, dburl: string) => {
|
||||||
}
|
}
|
||||||
const url = base.toString();
|
const url = base.toString();
|
||||||
|
|
||||||
|
if (localStorage.mlsid) {
|
||||||
|
params.mlsid = localStorage.mlsid;
|
||||||
|
}
|
||||||
|
|
||||||
const hsum = hash_sum(params);
|
const hsum = hash_sum(params);
|
||||||
const cached = cachedQueryResult[hsum];
|
const cached = cachedQueryResult[hsum];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ export const EdApiDB = ({
|
||||||
render();
|
render();
|
||||||
alert("DB PULL & GENERATE: OK\nRESTART: OK");
|
alert("DB PULL & GENERATE: OK\nRESTART: OK");
|
||||||
|
|
||||||
|
localStorage.removeItem(`schema-md-${p.site.id}`);
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
"api-ts-" + p.site.config.api_url,
|
"api-ts-" + p.site.config.api_url,
|
||||||
Date.now().toString()
|
Date.now().toString()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue