Update CustomerResponse JSON Tags and Fix Comment in Tender Repository

- Changed BSON tags to JSON tags in the CustomerResponse struct to ensure proper serialization in API responses.
- Updated the comment in the buildSearchFilter method to correct a typo, enhancing clarity in the codebase.
This commit is contained in:
n.nakhostin
2025-09-08 14:32:57 +03:30
parent a76aa16cba
commit c06ea278c0
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ func (r *tenderRepository) GetTenderCountByClassification(ctx context.Context) (
return counts, nil
}
// buildSearchFilter builds MongoDB filter from search vvvform
// buildSearchFilter builds MongoDB filter from search form
func (r *tenderRepository) buildSearchFilter(form *SearchForm) bson.M {
filter := bson.M{}