Skip to content

Commit

Permalink
feat: stringify unknown exam into empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Nov 3, 2024
1 parent c9e4f2c commit 1401772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/qp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl From<Exam> for String {
match value {
Exam::Midsem => "midsem".into(),
Exam::Endsem => "endsem".into(),
Exam::Unknown => "".into(),
Exam::Unknown => "unknown".into(),
Exam::CT(None) => "ct".into(),
Exam::CT(Some(i)) => format!("ct{}", i),
}
Expand Down

0 comments on commit 1401772

Please sign in to comment.