backend: can open hint

This commit is contained in:
nemunaire 2016-12-09 11:49:29 +01:00
commit 4b20c1dc1e
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])
}