mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
doc: add todo regarding /whoami
This commit is contained in:
parent
37bb98b965
commit
0bb80d2933
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user