diff --git a/internal/tender/form.go b/internal/tender/form.go index 14f7e77..476c2c6 100644 --- a/internal/tender/form.go +++ b/internal/tender/form.go @@ -47,6 +47,7 @@ type TenderResponse struct { CountryCode string `json:"country_code"` BuyerOrganization *OrganizationResponse `json:"buyer_organization"` Status TenderStatus `json:"status"` + TenderID string `json:"tender_id"` } type OrganizationResponse struct { @@ -70,10 +71,11 @@ func (t *Tender) ToTenderResponse() *TenderResponse { TenderDeadline: t.TenderDeadline, SubmissionDeadline: t.SubmissionDeadline, ApplicationDeadline: t.ApplicationDeadline, - SubmissionURL: t.SubmissionURL, CountryCode: t.CountryCode, + SubmissionURL: t.SubmissionURL, BuyerOrganization: &OrganizationResponse{Name: t.BuyerOrganization.Name}, Status: t.Status, + TenderID: t.TenderID, } return response