icole пре 4 година
родитељ
комит
c4b034df10
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      internal/types/types.go

+ 1 - 1
internal/types/types.go

@@ -120,7 +120,7 @@ type EnrollAddReq struct {
 	AgeGroup      int    `json:"age_group,optional"`
 	StuLinkPerson string `json:"stu_link_person"`
 	StuPhone      string `json:"stu_phone"`
-	SchId         int    `json:"sch_id,stu_link_person"`
+	SchId         int    `json:"sch_id,optional"`
 	Address       string `json:"address"`
 	Sign          string `json:"sign"`
 }