diff --git a/packages/node/src/lib/find-api-key.ts b/packages/node/src/lib/find-api-key.ts index 62ead20d2e..471b682949 100644 --- a/packages/node/src/lib/find-api-key.ts +++ b/packages/node/src/lib/find-api-key.ts @@ -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]; }