auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps, auths) => {}const pcloudSdk = require("pcloud-sdk-js");
global.locationid = 1;
var locations = {
1: "api.pcloud.com",
2: "eapi.pcloud.com"
};
auths.pcloud.client_id
const client = pcloudSdk.createClient(auths.pcloud.oauth_access_token,"oauth");
try{
return await client.api("userinfo");
}catch(err){
console.log(JSON.stringify(err));
}