From b405a460050690dfcd5a75033e0ede7570679ddc Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 27 Jul 2025 12:35:52 +0800 Subject: [PATCH] :necktie: Still allow user to get recycled files --- DysonNetwork.Drive/Storage/FileController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/DysonNetwork.Drive/Storage/FileController.cs b/DysonNetwork.Drive/Storage/FileController.cs index abbbe19..a5ac547 100644 --- a/DysonNetwork.Drive/Storage/FileController.cs +++ b/DysonNetwork.Drive/Storage/FileController.cs @@ -36,7 +36,6 @@ public class FileController( var file = await fs.GetFileAsync(id); if (file is null) return NotFound(); - if (file.IsMarkedRecycle) return StatusCode(StatusCodes.Status410Gone, "The file has been recycled."); if (!string.IsNullOrWhiteSpace(file.StorageUrl)) return Redirect(file.StorageUrl);