Skip to content

Commit

Permalink
fix registration athlete year is int
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad2002 committed Apr 18, 2024
1 parent f310f81 commit c484775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type AthleteRegistration struct {
AthleteId primitive.ObjectID `json:"athlete_id,omitempty" bson:"athlete_id,omitempty"`
AthleteFirstName string `json:"athlete_first_name,omitempty" bson:"athlete_first_name,omitempty"`
AthleteLastName string `json:"athlete_last_name,omitempty" bson:"athlete_last_name,omitempty"`
AthleteYear string `json:"athlete_year,omitempty" bson:"athlete_year,omitempty"`
AthleteYear int `json:"athlete_year,omitempty" bson:"athlete_year,omitempty"`
StartRegistrations []StartRegistration `json:"start_registrations" bson:"start_registrations"`
}

Expand Down

0 comments on commit c484775

Please sign in to comment.