added CreatedAt to tender response
This commit is contained in:
@@ -64,6 +64,7 @@ type TenderResponse struct {
|
||||
BuyerOrganization *OrganizationResponse `json:"buyer_organization"`
|
||||
Status TenderStatus `json:"status"`
|
||||
TenderID string `json:"tender_id"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
|
||||
type OrganizationResponse struct {
|
||||
@@ -97,6 +98,7 @@ func (t *Tender) ToResponse() *TenderResponse {
|
||||
BuyerOrganization: org,
|
||||
Status: t.Status,
|
||||
TenderID: t.TenderID,
|
||||
CreatedAt: t.CreatedAt,
|
||||
}
|
||||
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user