File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ type UpdateEventPayload struct {
158158 ReservationStartDate null.Time `json:"reservation_start_date"`
159159 ReservationEndDate null.Time `json:"reseveration_end_date"`
160160 AdditionalLink string `json:"additional_link"`
161- SessionType string `json:"session_type"`
161+ SessionType string `json:"session_type"`
162162}
163163
164164type EventDTO struct {
@@ -169,6 +169,7 @@ type EventDTO struct {
169169 ImageEvent string `json:"image_event"`
170170 DateEvent null.Time `json:"date_event"`
171171 Type constants.EventType `json:"type"`
172+ Price float64 `json:"price"`
172173 Location string `json:"location"`
173174 Duration string `json:"duration"`
174175 Capacity int `json:"capacity"`
@@ -286,6 +287,7 @@ func (e Event) ToDTO() EventDTO {
286287 Location : e .Location ,
287288 Duration : e .Duration ,
288289 Capacity : e .Capacity ,
290+ Price : e .Price ,
289291 RegistrationLink : e .RegistrationLink ,
290292 SessionType : e .SessionType ,
291293 }
You can’t perform that action at this time.
0 commit comments