fix(models): Add required SelfServiceLink field to RunnerWithDonations struct

This commit is contained in:
Nicolai Ort 2025-04-17 21:43:54 +02:00
parent 4a76ee469b
commit afc5b1f0c6
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -15,6 +15,7 @@ type RunnerWithDonations struct {
DistanceDonations []DistanceDonation `json:"distance_donations" validate:"optional"`
TotalPerDistance int `json:"total_per_distance" validate:"optional"`
TotalDonations int `json:"total_donations" validate:"optional"`
SelfServiceLink string `json:"self_service_link" validate:"required"`
}
type DistanceDonation struct {