fix: emit socket event
This commit is contained in:
parent
eda5d7063d
commit
4a42067a16
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ async function ensureDelete(pathname: string) {
|
|||
.catch((e) => console.error(e));
|
||||
|
||||
const io = getInstance();
|
||||
io?.send("FileDelete", { pathname });
|
||||
io?.emit("FileDelete", { pathname });
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue