Skip to content

Commit

Permalink
Fixed wrong property name of predictionsç
Browse files Browse the repository at this point in the history
  • Loading branch information
aaricdev committed Dec 16, 2023
1 parent fa7ebe7 commit 891a2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/database/predictions.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Prediction struct {
WinningOutcomeID *string `db:"winning_outcome_id" json:"winning_outcome_id"`
PredictionWindow int `db:"prediction_window" json:"prediction_window"`
Status string `db:"status" json:"status"`
StartedAt string `db:"created_at" json:"started_at"`
StartedAt string `db:"created_at" json:"created_at"`
EndedAt *string `db:"ended_at" json:"ended_at"`
LockedAt *string `db:"locked_at" json:"locked_at"`
Outcomes []PredictionOutcome `json:"outcomes"`
Expand Down

0 comments on commit 891a2b6

Please sign in to comment.