Change TP2 gradation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-05-16 19:18:21 +02:00
parent 6ec057ff38
commit 1658ba5177

View File

@ -57,20 +57,18 @@ func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
case 101:
res[std.Login]["TP2"] += 2
case 102:
res[std.Login]["TP2"] += 2
res[std.Login]["TP2"] += 1
case 103:
res[std.Login]["TP2"] += 3
case 104:
res[std.Login]["TP2"] += 1
case 105:
res[std.Login]["TP2"] += 1
case 106:
res[std.Login]["TP2"] += 3
case 105:
res[std.Login]["TP2"] += 2
case 106:
res[std.Login]["TP2"] += 2
case 107:
res[std.Login]["TP2"] += 3
case 108:
res[std.Login]["TP2"] += 2
case 109:
case 110:
res[std.Login]["TP2"] += 2
}
} else {