From 35de23f5a32c0430a20fbaa3391c918fd0fcc3f0 Mon Sep 17 00:00:00 2001 From: Mazyar Date: Mon, 4 May 2026 07:26:20 +0330 Subject: [PATCH] added CreatedAt to tender response --- internal/tender/form.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/tender/form.go b/internal/tender/form.go index c0a862a..0abd08d 100644 --- a/internal/tender/form.go +++ b/internal/tender/form.go @@ -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