fix: renamed method

This commit is contained in:
Phan An 2021-12-10 16:27:06 +01:00
parent 3aee4ca675
commit 92bf0a4958
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC
2 changed files with 2 additions and 2 deletions

View file

@ -15,6 +15,6 @@ class PruneLibrary
public function handle(): void
{
$this->mediaSyncService->tidy();
$this->mediaSyncService->prune();
}
}

View file

@ -116,7 +116,7 @@ class MediaSyncService
event(new MediaSyncCompleted($syncResult));
// Trigger LibraryChanged, so that TidyLibrary handler is fired to, erm, tidy our library.
// Trigger LibraryChanged, so that PruneLibrary handler is fired to prune the lib.
event(new LibraryChanged());
}