Skip to content

Commit

Permalink
fix: remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcuva committed Dec 19, 2023
1 parent 44951dc commit b4d752d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/node/src/lib/find-api-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ export default function findAPIKey(req: Request): string {
return req.headers.authorization.split(' ')[1];
} else if (req.headers.authorization && req.headers.authorization.includes('Basic')) {
const basicAuth = Buffer.from(req.headers.authorization.split(' ')[1], 'base64').toString().split(':');
// TODO: what other types of basic auth are there?
// TWilio has a username and a password in their basic auth
return basicAuth[0];
}

Expand Down

0 comments on commit b4d752d

Please sign in to comment.