base44-etoro-backend-functions-infra 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -35,6 +35,8 @@ export async function getEtoroHeaders(base44, user) {
|
|
|
35
35
|
'Content-Type': 'application/json',
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
console.log("Hi - Here's asServiceRole " + base44.asServiceRole);
|
|
39
|
+
|
|
38
40
|
const ssoToken = await base44.asServiceRole.sso.getAccessToken(user.id);
|
|
39
41
|
if (ssoToken) {
|
|
40
42
|
const arr = ssoToken.split(' ');
|
package/package.json
CHANGED