Why is query/action output not updated?

I have a Query Colelction action inside a loop. This query gets a certain field in document transacties. In this transacties document there is a field called betalingStatus which is updated via a Cloud function that gets triggerd by a Stripe webhook. However, this query always returns null even though it is already updated on the backend. In firebase it is updated in a few seconds, but the query still just returns null. Please have a look:

This is the query collection action:

And to test it, i have a snackbar which needs to show the betalingStatus from the Action Output of the query collection called queryLoop:

But it always returns null, even if it is already updated on the backend. How come? What do i do wrong?

1
12 replies