oops forgot that endpoint too

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-01-25 19:28:33 -05:00
1 parent 6c75087863
commit 71d247232d
1 file changed
+1 -4
+1 -4
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(