Here is the function declared on the Module Level:
Here is an error being thrown on the app level:
If not, you'll need to create some sort of exposed output from the module that calls
updateData. Retool is pretty aggressive at sandboxing components from each other.
It's frustrating that it works one way as a module, but then another as an app.
For now, I put the function on the app level, which works.