summaryrefslogtreecommitdiff
path: root/src/invite/handlers/accept/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/invite/handlers/accept/mod.rs')
-rw-r--r--src/invite/handlers/accept/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invite/handlers/accept/mod.rs b/src/invite/handlers/accept/mod.rs
index 8bdaa51..34f1e94 100644
--- a/src/invite/handlers/accept/mod.rs
+++ b/src/invite/handlers/accept/mod.rs
@@ -53,7 +53,7 @@ impl IntoResponse for Error {
app::AcceptError::DuplicateLogin(_) => {
(StatusCode::CONFLICT, error.to_string()).into_response()
}
- other => Internal::from(other).into_response(),
+ app::AcceptError::Failed(_) => Internal::from(error).into_response(),
}
}
}