delete empty profile

This commit is contained in:
Priec
2026-09-03 16:05:07 +02:00
parent bde15e7f2d
commit 0420108ff0
6 changed files with 131 additions and 2 deletions

View File

@@ -1299,6 +1299,19 @@ impl GrpcClient {
.into_inner())
}
pub async fn delete_profile(
&mut self,
request: common::proto::komp_ac::table_definition::DeleteProfileRequest,
) -> Result<common::proto::komp_ac::table_definition::DeleteProfileResponse> {
let request = self.authenticated_request(request)?;
Ok(self
.table_definition_client
.delete_profile(request)
.await
.context("gRPC DeleteProfile call failed")?
.into_inner())
}
pub async fn copy_profile(
&mut self,
request: common::proto::komp_ac::table_definition::CopyProfileRequest,