libfic: Type key is now Label
This commit is contained in:
parent
a1c6eadbe5
commit
9a9d5fcda4
5 changed files with 34 additions and 33 deletions
|
|
@ -130,9 +130,9 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
|
|||
} else {
|
||||
for _, k := range keys {
|
||||
if t == nil {
|
||||
exercice.Keys = append(exercice.Keys, fmt.Sprintf("%x", k.Checksum)+k.Type)
|
||||
exercice.Keys = append(exercice.Keys, fmt.Sprintf("%x", k.Checksum)+k.Label)
|
||||
} else {
|
||||
exercice.Keys = append(exercice.Keys, k.Type)
|
||||
exercice.Keys = append(exercice.Keys, k.Label)
|
||||
if PartialValidation {
|
||||
exercice.SolvedMat = append(exercice.SolvedMat, t.HasPartiallySolved(k) != nil)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue