Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MBetterc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MBetterc
Commits
40ccb77e
Commit
40ccb77e
authored
Feb 20, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fixtures API: remove non-existent odds attributes from MatchModel
parent
38946b0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
routes.py
mbetterclient/web_dashboard/routes.py
+1
-7
No files found.
mbetterclient/web_dashboard/routes.py
View file @
40ccb77e
...
@@ -10823,13 +10823,7 @@ def get_overlay_fixtures():
...
@@ -10823,13 +10823,7 @@ def get_overlay_fixtures():
'status'
:
match
.
status
,
'status'
:
match
.
status
,
'start_time'
:
match
.
start_time
.
isoformat
()
if
match
.
start_time
else
None
,
'start_time'
:
match
.
start_time
.
isoformat
()
if
match
.
start_time
else
None
,
'result'
:
match
.
result
,
'result'
:
match
.
result
,
'outcomes'
:
outcomes_array
,
# Array format expected by template
'outcomes'
:
outcomes_array
# Array format expected by template
# Keep odds for backwards compatibility
'odds'
:
{
'fighter1'
:
float
(
match
.
odds_fighter1
)
if
match
.
odds_fighter1
else
1.0
,
'fighter2'
:
float
(
match
.
odds_fighter2
)
if
match
.
odds_fighter2
else
1.0
,
'draw'
:
float
(
match
.
odds_draw
)
if
match
.
odds_draw
else
3.0
}
}
}
fixtures_data
.
append
(
match_data
)
fixtures_data
.
append
(
match_data
)
logger
.
info
(
f
"[FIXTURES API] Successfully processed match {match.id}"
)
logger
.
info
(
f
"[FIXTURES API] Successfully processed match {match.id}"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment