Skip to content

Commit

Permalink
chore(nnas): remove outdated TODO in PNID middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Feb 3, 2025
1 parent 37971c0 commit 9c92cfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/middleware/pnid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ async function PNIDMiddleware(request: express.Request, response: express.Respon
if (type === 'Basic' && request.path.includes('v1/api/people/@me/devices')) {
pnid = await getPNIDByBasicAuth(token);
} else if (type === 'Bearer') {
// TODO - This "accepted types list" is mostly a hack. Change this
pnid = await getPNIDByNNASAccessToken(token);
}

Expand Down

0 comments on commit 9c92cfd

Please sign in to comment.