Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-153 [skip ci] capital letter in comments
  • Loading branch information
israteneda committed Feb 18, 2021
commit 09d1528eac225a2ed570762b4aad9f8b1f65a4ac
4 changes: 2 additions & 2 deletions SignUpValidation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = async function (context, req) {
context.log("JavaScript HTTP trigger function processed a request v1.");
const API_VERSION = "1.0.0";

// parse Basic Auth username and password
// Parse Basic Auth username and password
var header = req.headers["authorization"] || "", // get the header
token = header.split(/\s+/).pop() || "", // and the encoded auth token
auth = new Buffer.from(token, "base64").toString(), // convert from base64
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = async function (context, req) {
// Log the request body
context.log(`Request body: ${JSON.stringify(req.body)}`);

// get domain of email address
// Get domain of email address
const domain = req.body.email.split("@")[1];
const allowedDomains = ["ioet.com"];

Expand Down