FIX[BE]: fixing nonstock sometimes isn't appeared on get one

This commit is contained in:
aguhh18
2025-12-03 11:14:26 +07:00
parent e667d88218
commit 31699f4162
3 changed files with 26 additions and 8 deletions
@@ -45,6 +45,6 @@ type ProjectBudget struct {
}
type Resubmit struct {
KandangIds []uint `json:"kandang_ids" validate:"required_strict,min=1,dive,gt=0"`
ProjectBudgts []ProjectBudget `json:"project_budgets" validate:"required_strict,min=1,dive"`
KandangIds []uint `json:"kandang_ids" validate:"required_strict,min=1,dive,gt=0"`
ProjectBudgets []ProjectBudget `json:"project_budgets" validate:"required_strict,min=1,dive"`
}