diff --git a/csharp/App/Backend/Database/Db.cs b/csharp/App/Backend/Database/Db.cs index 8d2eab32a..653b34ede 100644 --- a/csharp/App/Backend/Database/Db.cs +++ b/csharp/App/Backend/Database/Db.cs @@ -24,8 +24,6 @@ public static partial class Db .Last().Name; Console.WriteLine("latestdb is "+latestDb); - - //This is the file connection from the DbBackups folder var fileConnection = new SQLiteConnection("DbBackups/" + latestDb); @@ -41,7 +39,8 @@ public static partial class Db fileConnection.CreateTable(); fileConnection.CreateTable(); - return CopyDbToMemory(fileConnection); + return fileConnection; + //return CopyDbToMemory(fileConnection); } private static SQLiteConnection CopyDbToMemory(SQLiteConnection fileConnection) diff --git a/csharp/App/OpenVpnCertificatesServer/Program.cs b/csharp/App/OpenVpnCertificatesServer/Program.cs index 6189489b3..189653434 100644 --- a/csharp/App/OpenVpnCertificatesServer/Program.cs +++ b/csharp/App/OpenVpnCertificatesServer/Program.cs @@ -83,7 +83,7 @@ public static class Program private static Byte[] PackTar(String certificate, String certificateName, AsymmetricCipherKeyPair keys, String ip) { - Console.WriteLine("packing tar"); + Console.WriteLine("packing tar"); var publicKey = keys.Public .Apply(Pem.Encode); var privateKey = keys.Private.Apply(Pem.Encode);