diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-14 09:23:42 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-14 09:26:32 +0200 |
commit | edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d (patch) | |
tree | 024716507ae722bc9023d47d2ef38b369028b440 /apps/files_trashbin | |
parent | 0951398af88455f28359d032f916474e3d8d2893 (diff) | |
download | nextcloud-server-edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d.tar.gz nextcloud-server-edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d.zip |
fix(files): standardize `files:node:event` event syntax
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/src/actions/restoreAction.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) |