👔 Still allow user to get recycled files

This commit is contained in:
2025-07-27 12:35:52 +08:00
parent 4c0e0b5ee9
commit b405a46005

View File

@@ -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);