diff --git a/BTCPayServer.Plugins.Test/Services/TestPluginService.cs b/BTCPayServer.Plugins.Test/Services/TestPluginService.cs index f162ab826..aaabb31de 100644 --- a/BTCPayServer.Plugins.Test/Services/TestPluginService.cs +++ b/BTCPayServer.Plugins.Test/Services/TestPluginService.cs @@ -20,6 +20,7 @@ namespace BTCPayServer.Plugins.Test.Services await using var context = _testPluginDbContextFactory.CreateContext(); await context.TestPluginRecords.AddAsync(new TestPluginData() {Timestamp = DateTimeOffset.UtcNow}); + await context.SaveChangesAsync(); } diff --git a/BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml b/BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml index 3c761d54a..f1dd239f8 100644 --- a/BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml +++ b/BTCPayServer.Plugins.Test/Views/TestExtension/Index.cshtml @@ -10,7 +10,7 @@

Persisted Data

The following is data persisted to the configured database but in an isolated DbContext. Every time you start BTCPayw with this plugin enabled, a timestamp is logged.

-