mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-27 21:13:47 +03:00
fix: Forbidden instead of InvalidParam when joining
This commit is contained in:
parent
42c9ba2e5c
commit
90cd11d850
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ pub async fn invite_helper(
|
|||
|
||||
if !auth_check {
|
||||
return Err(Error::BadRequest(
|
||||
ErrorKind::InvalidParam,
|
||||
ErrorKind::Forbidden,
|
||||
"Event is not authorized.",
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue