diff options
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(), } } } |
