diff options
Diffstat (limited to 'src/push/handlers/subscribe/mod.rs')
| -rw-r--r-- | src/push/handlers/subscribe/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/push/handlers/subscribe/mod.rs b/src/push/handlers/subscribe/mod.rs index a1a5899..6dcab06 100644 --- a/src/push/handlers/subscribe/mod.rs +++ b/src/push/handlers/subscribe/mod.rs @@ -81,7 +81,7 @@ impl IntoResponse for Error { app::SubscribeError::Duplicate => { (StatusCode::CONFLICT, err.to_string()).into_response() } - other => Internal::from(other).into_response(), + app::SubscribeError::Failed(_) => Internal::from(err).into_response(), } } } |
