oops forgot that endpoint too

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-21 20:34:31 -05:00 committed by June
parent 6c75087863
commit 71d247232d

View file

@ -41,10 +41,7 @@ pub async fn get_public_rooms_filtered_route(
.config
.allow_public_room_directory_without_auth
{
let _sender_user = body
.sender_user
.as_ref()
.ok_or_else(|| Error::BadRequest(ErrorKind::MissingToken, "Missing access token."))?;
let _sender_user = body.sender_user.as_ref().expect("user is authenticated");
}
get_public_rooms_filtered_helper(