backend: can open hint
This commit is contained in:
parent
32d8ed6012
commit
d61e8af6a8
4 changed files with 52 additions and 0 deletions
|
@ -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])
|
||||
}
|
||||
|
|
Reference in a new issue