chore(nnas): remove outdated TODO in PNID middleware
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled

This commit is contained in:
Jonathan Barrow 2025-02-03 16:56:59 -05:00
parent 37971c006d
commit 9c92cfda3b
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F

View File

@ -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);
}