osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
4 stars 2 forks source link

Change `MatchWinRecord` to match new processor format #298

Closed hburn7 closed 1 month ago

hburn7 commented 1 month ago

Per https://github.com/osu-tournament-rating/otr-processor/pull/45 we now have a new format for MatchWinRecord:

pub struct MatchWinRecord {
    pub match_id: i32,
    pub loser_roster: Vec<i32>,
    pub winner_roster: Vec<i32>,
    pub loser_points: i32,
    pub winner_points: i32,
    pub winner_team: Option<i32>,
    pub loser_team: Option<i32>,
    pub match_type: Option<MatchType>
}