This commit is contained in:
Christien Rioux
2023-09-10 11:24:52 -04:00
parent f7ee2635b3
commit 607b595807
3 changed files with 15 additions and 15 deletions

View File

@@ -648,7 +648,7 @@ impl VeilidAPI {
if !args.is_empty() {
if args[0] == "buckets" {
// Must be detached
if matches!(
if !matches!(
self.get_state().await?.attachment.state,
AttachmentState::Detached | AttachmentState::Detaching
) {