admin: can edit flags after creation

This commit is contained in:
nemunaire 2018-01-26 10:57:15 +01:00
parent 0ed86b4b83
commit bbdfb4da70
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,8 @@ func updateExerciceKey(key fic.Key, exercice fic.Exercice, body []byte) (interfa
key.Label = uk.Label
}
key.Checksum = uk.Hash
if _, err := key.Update(); err != nil {
return nil, err
}