Update rank field type in tender and onboarding response structures
continuous-integration/drone/push Build is passing

- Changed the `Rank` field type from `string` to `int` in the `RecommendedTenderResponse` struct within the `company` domain for better data representation.
- Updated the `Rank` field type from `string` to `int` in the `TenderResponse` struct within the `tender` domain to ensure consistency in ranking data.
- Modified the `Rank` field type from `string` to `int` in the `RecommendedTender` struct within the AI summarizer package to align with the updated data structure.

This update enhances the data integrity and consistency across the tender management system by standardizing the rank representation as an integer.
This commit is contained in:
Mazyar
2026-06-21 15:24:19 +03:30
parent b671dc3fd8
commit 2b6e25f979
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ type OnboardingResponse struct {
// RecommendedTenderResponse is one ranked tender recommendation from the AI service.
type RecommendedTenderResponse struct {
Rank string `json:"rank"`
Rank int `json:"rank"`
TenderID string `json:"tender_id"`
Analysis string `json:"analysis"`
}