hotfix: wrong function usage
This commit is contained in:
parent
cb8071db6f
commit
eda5d7063d
1 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ async function handleNotFoundRecord(
|
||||||
if (!result) return false;
|
if (!result) return false;
|
||||||
|
|
||||||
const io = getInstance();
|
const io = getInstance();
|
||||||
io?.send("FileUpdate", metadata);
|
io?.emit("FileUpdate", metadata);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -170,7 +170,7 @@ async function handleFoundRecord(
|
||||||
if (!result) return false;
|
if (!result) return false;
|
||||||
|
|
||||||
const io = getInstance();
|
const io = getInstance();
|
||||||
io?.send("FileUpdate", metadata);
|
io?.emit("FileUpdate", metadata);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue