Hi! I’ve already tried putting console.log() in multiple places. What I have observed is I can see the value of r only once no matter how many times I print it. I don’t understand why r can only be used once!!
The wixData.insert is being called correctly as I can see {} in the database each time after fetch.
Here, I have console.log(r), console.log(tI) and return r
The logs (end to start)

