From 137b6040ab0e3058084b8f5499a2fa7c11ac635d Mon Sep 17 00:00:00 2001 From: notCharles Date: Sat, 27 Apr 2024 22:08:51 -0400 Subject: [PATCH] Fix Backups --- app/Extensions/Backups/BackupManager.php | 2 +- config/backups.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Extensions/Backups/BackupManager.php b/app/Extensions/Backups/BackupManager.php index 8cf817513..ad1cfdbbc 100644 --- a/app/Extensions/Backups/BackupManager.php +++ b/app/Extensions/Backups/BackupManager.php @@ -97,7 +97,7 @@ class BackupManager /** * Creates a new daemon adapter. */ - public function createDaemonAdapter(array $config): FilesystemAdapter + public function createWingsAdapter(array $config): FilesystemAdapter { return new InMemoryFilesystemAdapter(); } diff --git a/config/backups.php b/config/backups.php index ef31e176d..0074bf8d7 100644 --- a/config/backups.php +++ b/config/backups.php @@ -34,7 +34,7 @@ return [ 'disks' => [ // There is no configuration for the local disk for Daemon. That configuration // is determined by the Daemon configuration, and not the Panel. - 'daemon' => [ + 'wings' => [ 'adapter' => Backup::ADAPTER_DAEMON, ],