|
|
|
@ -839,7 +839,7 @@ pub async fn invite_helper( |
|
|
|
|
|
|
|
|
|
|
|
if !auth_check { |
|
|
|
if !auth_check { |
|
|
|
return Err(Error::BadRequest( |
|
|
|
return Err(Error::BadRequest( |
|
|
|
ErrorKind::InvalidParam, |
|
|
|
ErrorKind::Forbidden, |
|
|
|
"Event is not authorized.", |
|
|
|
"Event is not authorized.", |
|
|
|
)); |
|
|
|
)); |
|
|
|
} |
|
|
|
} |
|
|
|
|