getAll()
try {
const pollsList = await pollz.polls.getAll(1, 10, OrderBy.Desc);
console.log('Polls List:', pollsList);
} catch (error) {
console.error('Failed to retrieve polls:', error.message);
}Last updated
try {
const pollsList = await pollz.polls.getAll(1, 10, OrderBy.Desc);
console.log('Polls List:', pollsList);
} catch (error) {
console.error('Failed to retrieve polls:', error.message);
}Last updated