refactor(server): trash endpoints (#6652)

* refactor(server): trash endpoints

* chore: open api

* chore: fix wrong rename
This commit is contained in:
Jason Rasmussen
2024-01-26 11:48:37 -05:00
committed by GitHub
parent 33757689fe
commit 96b7885583
27 changed files with 967 additions and 137 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
const handleEmptyTrash = async () => {
isShowEmptyConfirmation = false;
try {
await api.assetApi.emptyTrash();
await api.trashApi.emptyTrash();
notificationController.show({
message: `Empty trash initiated. Refresh the page to see the changes`,
@@ -50,7 +50,7 @@
const handleRestoreTrash = async () => {
try {
await api.assetApi.restoreTrash();
await api.trashApi.restoreTrash();
notificationController.show({
message: `Restore trash initiated. Refresh the page to see the changes`,