Hi there,
Looking for a bit of help…
Got a script in Google Sheets to pull in a list of current member IDs of our Corp:
function getMembers(opt_headers) {
var members = GESI.corporations_corporation_members(opt_headers);
{
members = members.concat(GESI.corporations_corporation_members(opt_headers));
}
return members;
}
The script is being called in Sheets by =getMembers(). The list is being populated with current member IDs, but it is being repeated so I end up with two lists of the same data, with headers also being repeated.
What am I doing wrong and how can I only pull one set of data?
Appreciate any pointers…ESI noob still learning and figuring it out