Add issue field for exercice, to be able to communicate about problem with exercice
This commit is contained in:
parent
0654033721
commit
44d335bc9f
8 changed files with 43 additions and 17 deletions
|
@ -139,6 +139,14 @@ func partUpdateExercice(exercice fic.Exercice, body []byte) (interface{}, error)
|
|||
exercice.Overview = ue.Overview
|
||||
}
|
||||
|
||||
if len(ue.Issue) > 0 {
|
||||
exercice.Issue = ue.Issue
|
||||
}
|
||||
|
||||
if len(ue.IssueKind) > 0 {
|
||||
exercice.IssueKind = ue.IssueKind
|
||||
}
|
||||
|
||||
if ue.Depend != nil {
|
||||
exercice.Depend = ue.Depend
|
||||
}
|
||||
|
|
Reference in a new issue