Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const getPledgesWithDelegates = async () => {
const event = await pledgesCollection.query(
Q.where('n_delegates', Q.gt(0))
).fetch()
return event
}