diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-26 14:00:49 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-26 14:00:49 -0400 |
| commit | 7ec7827cd956fa8371e12d66d32539c39374651e (patch) | |
| tree | f883569a70f1b1efff2a68be45da38a2a5f99935 /src/invite | |
| parent | c87b5c53077c02bf21234e24bf976aa7a5f2bac8 (diff) | |
Invite accept error is Error
Diffstat (limited to 'src/invite')
| -rw-r--r-- | src/invite/routes/invite/post.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |
