The Llama cannot code for shit.
This commit is contained in:
parent
c3fa0f0202
commit
5f6c3b6c52
|
@ -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)),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user