From d2b0bcc4a30f224baab45022e9b9909ec2e80321 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Fri, 16 Jun 2023 20:29:23 +0200 Subject: [PATCH] Disabled server delete --- Moonlight/App/Services/ServerService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Moonlight/App/Services/ServerService.cs b/Moonlight/App/Services/ServerService.cs index 89721699..ed51c311 100644 --- a/Moonlight/App/Services/ServerService.cs +++ b/Moonlight/App/Services/ServerService.cs @@ -405,6 +405,8 @@ public class ServerService public async Task Delete(Server s) { + throw new DisplayException("Deleting servers is currently disabled"); + var backups = await GetBackups(s); foreach (var backup in backups)