aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/db/matches.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-03-12 09:04:12 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-03-12 09:04:12 +0100
commitf7655005ff099e8314ecd31e95b26ad74d4efd02 (patch)
tree9907f7d908c3028abf244fb691755514b142f392 /planetwars-server/src/db/matches.rs
parenta1d7760b720d7cc37b89fc5c39de8ae20f7e2c50 (diff)
downloadplanetwars.dev-f7655005ff099e8314ecd31e95b26ad74d4efd02.tar.xz
planetwars.dev-f7655005ff099e8314ecd31e95b26ad74d4efd02.zip
typo: maches -> matches
Diffstat (limited to 'planetwars-server/src/db/matches.rs')
-rw-r--r--planetwars-server/src/db/matches.rs2
1 files changed, 1 insertions, 1 deletions
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<FullMatchData> {
})
}
-pub fn find_mach_base(id: i32, conn: &PgConnection) -> QueryResult<MatchBase> {
+pub fn find_match_base(id: i32, conn: &PgConnection) -> QueryResult<MatchBase> {
matches::table.find(id).get_result::<MatchBase>(conn)
}