I am currently developing a plugin. I am trying build a feature where a developer can provide a list of user emails to a field. My plugin will have three fields, viewer, editor & facilitator. I would like developers to choose which users will have access to different features.
My database contains five users, however, when I write this
let viewers = properties.viewers.get(0, 4);
console.log(viewers)
I only get the current user’s email. Why is this the case? What am I doing wrong?