doc: add todo regarding /whoami

This commit is contained in:
KernelDeimos 2024-10-22 21:53:53 -04:00
parent 37bb98b965
commit 0bb80d2933

View File

@ -60,6 +60,7 @@ const WHOAMI_GET = eggspress('/whoami', {
...(req.new_token ? { token: req.token } : {}) ...(req.new_token ? { token: req.token } : {})
}; };
// TODO: redundant? GetUserService already puts these values on 'user'
// Get whoami values from other services // Get whoami values from other services
const svc_whoami = req.services.get('whoami'); const svc_whoami = req.services.get('whoami');
const provider_details = await svc_whoami.get_details({ const provider_details = await svc_whoami.get_details({