From edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Fri, 14 Apr 2023 09:23:42 +0200 Subject: fix(files): standardize `files:node:event` event syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/files_trashbin/src/actions/restoreAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/src') diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts index 493106953a6..bff1e547efe 100644 --- a/apps/files_trashbin/src/actions/restoreAction.ts +++ b/apps/files_trashbin/src/actions/restoreAction.ts @@ -62,7 +62,7 @@ registerFileAction(new FileAction({ // Let's pretend the file is deleted since // we don't know the restored location - emit('files:file:deleted', node) + emit('files:node:deleted', node) return true } catch (error) { logger.error(error) -- cgit v1.2.3