mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-29 11:18:30 +00:00
fix a few error codes
Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
parent
47ff91243d
commit
0e342aab7f
3 changed files with 20 additions and 12 deletions
|
@ -92,7 +92,7 @@ pub(crate) async fn get_alias_route(
|
|||
|
||||
let Ok((room_id, servers)) = services.rooms.alias.resolve_alias(&room_alias, None).await
|
||||
else {
|
||||
return Err!(Request(NotFound("Room with alias not found.")));
|
||||
return Err!(Request(Unknown("Room with alias not found.")));
|
||||
};
|
||||
|
||||
let servers = room_available_servers(&services, &room_id, &room_alias, servers).await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue