diff --git a/models/mod.py b/models/mod.py index fc3a0b5..f7fd570 100644 --- a/models/mod.py +++ b/models/mod.py @@ -127,7 +127,7 @@ def get_version(self, version): cur.execute("SELECT * FROM modversions WHERE mod_id = %s AND version = %s", (self.id, version)) row = cur.fetchone() if row: - return Modversion(row["id"], row["mod_id"], row["version"], row["md5"], row["created_at"], row["updated_at"], row["filesize"]) + return Modversion(row["id"], row["mod_id"], row["version"], row["mcversion"], row["md5"], row["created_at"], row["updated_at"], row["filesize"]) return None def to_json(self):