Skip to content

Commit

Permalink
Add BSPH as a valid prefix for course code
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed Oct 18, 2024
1 parent 9868578 commit b0e29b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const isValidEmailAddress = (address) =>
)

const isValidCourseCode = (courseCode) =>
/^(TKT|BSCS|CSM|MAT|DATA|AY|MFK|JODG|JODG-|ENG|ENG-|ATM|ELK|ECOK|EDUMCE|SOSM|FAF-)[A-Za-z0-9-]{3,12}$/.test(courseCode)
/^(TKT|BSCS|BSPH|CSM|MAT|DATA|AY|MFK|JODG|JODG-|ENG|ENG-|ATM|ELK|ECOK|EDUMCE|SOSM|FAF-)[A-Za-z0-9-]{3,12}$/.test(courseCode)

const areValidGraders = (graders) => {
if (!Array.isArray(graders)) return false
Expand Down

0 comments on commit b0e29b2

Please sign in to comment.