@@ -750,7 +750,7 @@ func GetHeadToHeadMatches(player1 int, player2 int) ([]*models.Match, error) {
750
750
SELECT
751
751
m.id, m.is_finished, m.is_abandoned, m.is_walkover, m.is_bye, m.current_leg_id, m.winner_id, m.created_at, m.updated_at,
752
752
m.owe_type_id, mt.id, mt.name, mt.description,
753
- mm.id, mm.name, mm.short_name, mm.wins_required, mm.legs_required, mm.is_draw_possible, mm.is_challenge,
753
+ mm.id, mm.name, mm.short_name, mm.wins_required, mm.legs_required, mm.is_draw_possible, mm.is_challenge
754
754
FROM matches m
755
755
JOIN match_type mt ON mt.id = m.match_type_id
756
756
JOIN match_mode mm ON mm.id = m.match_mode_id
@@ -794,7 +794,7 @@ func GetPlayerLastMatches(playerID int, limit int) ([]*models.Match, error) {
794
794
SELECT
795
795
m.id, m.is_finished, m.is_abandoned, m.is_walkover, m.is_bye, m.current_leg_id, m.winner_id, m.created_at, m.updated_at,
796
796
m.owe_type_id, mt.id, mt.name, mt.description,
797
- mm.id, mm.name, mm.short_name, mm.wins_required, mm.legs_required, mm.is_draw_possible, mm.is_challenge,
797
+ mm.id, mm.name, mm.short_name, mm.wins_required, mm.legs_required, mm.is_draw_possible, mm.is_challenge
798
798
FROM matches m
799
799
JOIN match_type mt ON mt.id = m.match_type_id
800
800
JOIN match_mode mm ON mm.id = m.match_mode_id
0 commit comments