diff --git a/DysonNetwork.Sphere/Storage/FileService.cs b/DysonNetwork.Sphere/Storage/FileService.cs index d31e91e..a18a82b 100644 --- a/DysonNetwork.Sphere/Storage/FileService.cs +++ b/DysonNetwork.Sphere/Storage/FileService.cs @@ -240,6 +240,7 @@ public class FileService( await stream.DisposeAsync(); await store.DeleteFileAsync(file.Id, CancellationToken.None); + await nfs._PurgeCacheAsync(file.Id); }); return file; diff --git a/DysonNetwork.Sphere/Storage/TusService.cs b/DysonNetwork.Sphere/Storage/TusService.cs index c66ea19..6c25c0b 100644 --- a/DysonNetwork.Sphere/Storage/TusService.cs +++ b/DysonNetwork.Sphere/Storage/TusService.cs @@ -10,7 +10,7 @@ using tusdotnet.Models.Configuration; namespace DysonNetwork.Sphere.Storage; -public class TusService +public abstract class TusService { public static DefaultTusConfiguration BuildConfiguration(ITusStore store) => new() {