mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-03-21 17:44:49 -05:00
chore(nnas): remove outdated TODO in PNID middleware
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
This commit is contained in:
parent
37971c006d
commit
9c92cfda3b
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user