Skip to content

Commit

Permalink
Merge pull request #130 from Carifio24/educator-creation-fields
Browse files Browse the repository at this point in the history
Update expected fields for educator signup request
  • Loading branch information
Carifio24 authored Sep 12, 2024
2 parents 788a095 + 1f97c48 commit fe3134a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ app.post([
], async (req, res) => {
const data = req.body;
const valid = (
typeof data.firstName === "string" &&
typeof data.lastName === "string" &&
typeof data.first_name === "string" &&
typeof data.last_name === "string" &&
typeof data.password === "string" &&
((typeof data.institution === "string") || (data.institution == null)) &&
typeof data.email === "string" &&
Expand Down

0 comments on commit fe3134a

Please sign in to comment.