add: make gpa much harder

This commit is contained in:
trisua 2025-06-09 21:25:54 -04:00
parent 6245f9fd2e
commit 14c52b13fb
3 changed files with 17 additions and 12 deletions

View file

@ -665,9 +665,9 @@ pub async fn get_user_gpa_request(
let gpa = data.calculate_user_gpa(id).await;
return Json(ApiReturn {
ok: true,
message: if gpa >= 3 {
message: if gpa >= 3.0 {
"cool".to_string()
} else if gpa >= 4 {
} else if gpa >= 4.0 {
"extraordinary".to_string()
} else {
"ok".to_string()