From 7ec7827cd956fa8371e12d66d32539c39374651e Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sat, 26 Oct 2024 14:00:49 -0400 Subject: Invite accept error is Error --- src/invite/routes/invite/post.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/invite/routes/invite/post.rs b/src/invite/routes/invite/post.rs index 0dd8dba..627eca3 100644 --- a/src/invite/routes/invite/post.rs +++ b/src/invite/routes/invite/post.rs @@ -36,7 +36,8 @@ pub struct Request { pub password: Password, } -#[derive(Debug)] +#[derive(Debug, thiserror::Error)] +#[error(transparent)] pub struct Error(pub app::AcceptError); impl IntoResponse for Error { -- cgit v1.2.3