refactor: remove unused code

This commit is contained in:
Polianin Nikita 2024-12-22 06:39:12 +03:00
parent 7b94f9cc1f
commit 9231c4d5ca

View File

@ -30,8 +30,6 @@ public class MaintenanceModeMiddleware(RequestDelegate next, IMaintenanceModeSer
throw new ServerUnavailableException( throw new ServerUnavailableException(
"The service is currently not configured. Go to the setup page if you are an administrator or try again later.", false); "The service is currently not configured. Go to the setup page if you are an administrator or try again later.", false);
await context.Response.WriteAsync(error);
} }
} }
} }