The Llama cannot code for shit.

This commit is contained in:
BurnyLlama 2023-04-15 21:37:22 +02:00
parent c3fa0f0202
commit 5f6c3b6c52

View File

@ -26,7 +26,7 @@ async fn get_maps_by_mapper(
db: &State<DatabaseHandler>,
mapper: &str,
) -> Result<Json<Vec<Map>>, String> {
match Map::get_maps_by_category(db, mapper).await {
match Map::get_maps_by_mapper(db, mapper).await {
Ok(maps) => Ok(Json(maps)),
Err(err) => Err(format!("Error: {}", err)),
}