Update database with swipable stack

Hey community!

I have a task. I have a Firebase collection. Each element of the collection has 'score' Integer.
On swipe left I want to decrease this int by 0.1, on swipe right I want to add 0.1 to it.

The task seems simple. You would suggest me to add an action on swipe left:
Backend / Update Document / Current index / Score

But I get error all the time "Current variable is not valid" (see the screenshot). How would you solve this problem?

1
1 reply