backend: can open hint

This commit is contained in:
nemunaire 2016-12-09 11:49:29 +01:00 committed by Pierre-Olivier Mercier
parent 6e7e174713
commit c669319e56
4 changed files with 52 additions and 0 deletions

View file

@ -116,6 +116,8 @@ func treat(raw_path string) {
log.Println("[ERR]", err)
} else if spath[2] == "name" {
treatRename(raw_path, team)
} else if spath[2] == "hint" {
treatOpeningHint(raw_path, team)
} else {
treatSubmission(raw_path, team, spath[2])
}