mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
@@ -235,6 +235,12 @@ namespace BTCPayServer.Controllers
|
||||
fileProviderService.GetProviderConfiguration(data));
|
||||
|
||||
case FileSystemFileProviderService fileProviderService:
|
||||
if (data.Provider != BTCPayServer.Storage.Models.StorageProvider.FileSystem)
|
||||
{
|
||||
_ = await SaveStorageProvider(new FileSystemStorageConfiguration(),
|
||||
BTCPayServer.Storage.Models.StorageProvider.FileSystem);
|
||||
}
|
||||
|
||||
return View(nameof(EditFileSystemStorageProvider),
|
||||
fileProviderService.GetProviderConfiguration(data));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user