Merge pull request #1718 from umbraco/bugfix/delete-items-recyclebin
Bugfix: Delete items Recyclebin
This commit is contained in:
@@ -174,7 +174,6 @@ export class UmbMediaServerDataSource implements UmbDetailDataSource<UmbMediaDet
|
||||
async delete(unique: string) {
|
||||
if (!unique) throw new Error('Unique is missing');
|
||||
|
||||
// TODO: update to delete when implemented
|
||||
return tryExecuteAndNotify(this.#host, MediaService.putMediaByIdMoveToRecycleBin({ id: unique }));
|
||||
return tryExecuteAndNotify(this.#host, MediaService.deleteMediaById({ id: unique }));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user