backend: Don't consider non error in MCQ as good response

This commit is contained in:
nemunaire 2022-06-08 16:38:00 +02:00
commit 4b1b5445f7
5 changed files with 12 additions and 8 deletions

View file

@ -178,7 +178,8 @@ func (k *FlagLabel) Check(v interface{}) int {
}
// FoundBy registers in the database that the given Team solved the flag.
func (k *FlagLabel) FoundBy(t *Team) {
func (k *FlagLabel) FoundBy(t *Team) error {
return nil
}
// GetExercice returns the parent Exercice where this flag can be found.