diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-25 01:27:05 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-25 02:16:04 -0400 |
| commit | 452c8d0d9edb9894c108b6d577806c7c9d0071dd (patch) | |
| tree | 1857a7409fe9e5e8c724ff7a04112c57ed3de92c /src/events/routes.rs | |
| parent | 697e90f291cec1bbd89965c2731f9481ec4507c4 (diff) | |
Crank up the Clippy warnings.
This'll catch style issues, mostly.
Diffstat (limited to 'src/events/routes.rs')
| -rw-r--r-- | src/events/routes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events/routes.rs b/src/events/routes.rs index 5181370..d901f9b 100644 --- a/src/events/routes.rs +++ b/src/events/routes.rs @@ -20,7 +20,7 @@ use super::{extract::LastEventId, repo::broadcast}; use crate::{ app::App, clock::RequestedAt, - error::InternalError, + error::Internal, events::app::EventsError, repo::{channel, login::Login}, }; @@ -121,7 +121,7 @@ impl IntoResponse for ErrorResponse { not_found @ EventsError::ChannelNotFound(_) => { (StatusCode::NOT_FOUND, not_found.to_string()).into_response() } - other => InternalError::from(other).into_response(), + other => Internal::from(other).into_response(), } } } |
