core/protocol: make ModifyPrivileges response serializable
Build and test / check-license (push) Successful in 46s
Build and test / check (push) Successful in 2m25s
Build and test / build (push) Successful in 3m0s
Build and test / test (push) Successful in 3m34s
Build and test / docs (push) Successful in 5m55s

This commit is contained in:
2026-04-28 17:27:40 +09:00
parent 7a9b233611
commit 5aca2314c4
4 changed files with 33 additions and 14 deletions
+2 -2
View File
@@ -305,7 +305,7 @@ pub async fn edit_database_privileges(
print_modify_database_privileges_output_status(&result);
if result.iter().any(|(_, res)| {
if result.values().flatten().any(|(_, res)| {
matches!(
res,
Err(ModifyDatabasePrivilegesError::UserValidationError(
@@ -320,7 +320,7 @@ pub async fn edit_database_privileges(
server_connection.send(Request::Exit).await?;
if result.values().any(std::result::Result::is_err) {
if result.values().flatten().any(|(_, res)| res.is_err()) {
std::process::exit(1);
}