aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs
index fc203f5..586c32d 100644
--- a/src/api/peers.rs
+++ b/src/api/peers.rs
@@ -322,7 +322,7 @@ pub(crate) async fn delete_peer(
// Named as who asked: rules by path judge the change by them (`access::rules`).
let user = user.map(|axum::Extension(user)| user.0);
state
- .mutate_doc_for(
+ .mutate_doc_by(
user,
crate::document::signatures::Sign::Protocol,
move |doc| {