-
-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
Hey!
I am trying to define pollInterval on a query to a property on the data object.
runningTasks: {
query: gql`{
runningTasks {
done
meta
status
information
err
}
}`,
pollInterval: this.poll,
fetchPolicy:'network-only',
},
But I get this error:
"Cannot read property 'poll' of undefined"
What am I doing wrong?
brease-colin and angelosarto