diff options
Diffstat (limited to 'src/invite')
| -rw-r--r-- | src/invite/routes/invite/get.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/invite/routes/invite/get.rs b/src/invite/routes/invite/get.rs index c8b52f1..f862833 100644 --- a/src/invite/routes/invite/get.rs +++ b/src/invite/routes/invite/get.rs @@ -30,10 +30,9 @@ pub enum Error { impl IntoResponse for Error { fn into_response(self) -> Response { - #[allow(clippy::match_wildcard_for_single_variants)] match self { Self::NotFound(_) => NotFound(self).into_response(), - other => Internal::from(other).into_response(), + Self::Database(_) => Internal::from(self).into_response(), } } } |
