Skip to content

Commit 891a2b6

Browse files
committed
Fixed wrong property name of predictionsç
1 parent fa7ebe7 commit 891a2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/database/predictions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Prediction struct {
1111
WinningOutcomeID *string `db:"winning_outcome_id" json:"winning_outcome_id"`
1212
PredictionWindow int `db:"prediction_window" json:"prediction_window"`
1313
Status string `db:"status" json:"status"`
14-
StartedAt string `db:"created_at" json:"started_at"`
14+
StartedAt string `db:"created_at" json:"created_at"`
1515
EndedAt *string `db:"ended_at" json:"ended_at"`
1616
LockedAt *string `db:"locked_at" json:"locked_at"`
1717
Outcomes []PredictionOutcome `json:"outcomes"`

0 commit comments

Comments
 (0)