fix db proxy

This commit is contained in:
Rizky 2024-04-30 15:39:23 +07:00
parent 1c9133e2f2
commit 28cb3fdc4a
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export const fetchSendDb = async (params: any, dburl: string) => {
}
const url = base.toString();
if (localStorage.mlsid) {
if (typeof localStorage !== "undefined" && localStorage.mlsid) {
params.mlsid = localStorage.mlsid;
}