Merge branch 'next/minor' of github.com:Start9Labs/start-os into next/major

This commit is contained in:
Aiden McClelland
2025-04-07 14:00:42 -06:00
77 changed files with 1474 additions and 716 deletions

View File

@@ -202,7 +202,7 @@ pub async fn add_domain<Kind: HostApiKind>(
)?;
check_duplicates(db)
})
.await?;
.await.result?;
Kind::sync_host(&ctx, inheritance).await?;
Ok(())
@@ -224,7 +224,8 @@ pub async fn remove_domain<Kind: HostApiKind>(
.as_domains_mut()
.remove(&domain)
})
.await?;
.await
.result?;
Kind::sync_host(&ctx, inheritance).await?;
Ok(())
@@ -258,7 +259,8 @@ pub async fn add_onion<Kind: HostApiKind>(
.mutate(|a| Ok(a.insert(onion)))?;
check_duplicates(db)
})
.await?;
.await
.result?;
Kind::sync_host(&ctx, inheritance).await?;
@@ -285,7 +287,8 @@ pub async fn remove_onion<Kind: HostApiKind>(
.as_onions_mut()
.mutate(|a| Ok(a.remove(&onion)))
})
.await?;
.await
.result?;
Kind::sync_host(&ctx, inheritance).await?;