fix: don't remove timeouts when a member leaves a server (#409)

This commit is contained in:
Tom
2025-09-06 18:41:23 -07:00
committed by GitHub
parent 3cb7da95e3
commit e635bc23ec
12 changed files with 778 additions and 449 deletions

View File

@@ -109,6 +109,9 @@ fn resolve_bucket<'r>(request: &'r rocket::Request<'_>) -> (&'r str, Option<&'r
};
if let Some(segment) = segment {
#[allow(clippy::redundant_locals)]
let resource = resource;
let method = request.method();
match (segment, resource, method) {
("users", target, Method::Patch) => ("user_edit", target),