summaryrefslogtreecommitdiff
path: root/src/push/handlers/subscribe
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-11-25 21:02:25 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-11-25 21:02:25 -0500
commit664e3beba053aee50fc6b3cdcc6ee0dfe5e0fe1f (patch)
tree096b997d56959dd88d099f4f96a383daa4dbc39a /src/push/handlers/subscribe
parent91c33501a315abe04aeed54aa27388ce0ad241ce (diff)
parent33601ef703a640b57e5bd0bf7dbd6d7ffa7377bf (diff)
Merge branch 'house-of-failed'
Diffstat (limited to 'src/push/handlers/subscribe')
-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(),
}
}
}