diff --git a/src/puter-js/src/index.js b/src/puter-js/src/index.js index 36a3516bf..9e6f23eca 100644 --- a/src/puter-js/src/index.js +++ b/src/puter-js/src/index.js @@ -506,7 +506,7 @@ const puterInit = (function() { this.request_rao_(); // perform whoami and cache results - puter.getUser().then((user) => { + this.getUser().then((user) => { this.whoami = user; }); };