summaryrefslogtreecommitdiff
path: root/src/push/handlers/subscribe/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/push/handlers/subscribe/mod.rs')
-rw-r--r--src/push/handlers/subscribe/mod.rs2
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(),
}
}
}