From f7655005ff099e8314ecd31e95b26ad74d4efd02 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sat, 12 Mar 2022 09:04:12 +0100 Subject: typo: maches -> matches --- planetwars-server/src/db/matches.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planetwars-server/src/db/matches.rs') diff --git a/planetwars-server/src/db/matches.rs b/planetwars-server/src/db/matches.rs index 24f3c27..42689d1 100644 --- a/planetwars-server/src/db/matches.rs +++ b/planetwars-server/src/db/matches.rs @@ -154,7 +154,7 @@ pub fn find_match(id: i32, conn: &PgConnection) -> QueryResult { }) } -pub fn find_mach_base(id: i32, conn: &PgConnection) -> QueryResult { +pub fn find_match_base(id: i32, conn: &PgConnection) -> QueryResult { matches::table.find(id).get_result::(conn) } -- cgit v1.2.3