fix: emit socket event

This commit is contained in:
Methapon2001 2023-12-08 13:44:51 +07:00
parent eda5d7063d
commit 4a42067a16
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -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;
}