@@ -88,13 +88,13 @@ func parseIncludeOptions(c *gin.Context) IncludeOptions {
8888
8989// APIAttempt is the API response for an attempt
9090type APIAttempt struct {
91- ID string `json:"id"`
92- Status string `json:"status"`
93- DeliveredAt time.Time `json:"delivered_at"`
94- Code string `json:"code,omitempty"`
95- ResponseData map [string ]interface {} `json:"response_data,omitempty"`
96- AttemptNumber int `json:"attempt_number"`
97- Manual bool `json:"manual"`
91+ ID string `json:"id"`
92+ Status string `json:"status"`
93+ DeliveredAt time.Time `json:"delivered_at"`
94+ Code string `json:"code,omitempty"`
95+ ResponseData map [string ]interface {} `json:"response_data,omitempty"`
96+ AttemptNumber int `json:"attempt_number"`
97+ Manual bool `json:"manual"`
9898
9999 // Expandable fields - string (ID) or object depending on expand
100100 Event interface {} `json:"event"`
@@ -146,8 +146,8 @@ type EventPaginatedResult struct {
146146func toAPIAttempt (ar * logstore.AttemptRecord , opts IncludeOptions ) APIAttempt {
147147 api := APIAttempt {
148148 AttemptNumber : ar .Attempt .AttemptNumber ,
149- Manual : ar .Attempt .Manual ,
150- Destination : ar .Attempt .DestinationID ,
149+ Manual : ar .Attempt .Manual ,
150+ Destination : ar .Attempt .DestinationID ,
151151 }
152152
153153 if ar .Attempt != nil {
0 commit comments