Backend Wix code in .jsw duplicating calls

Both my fetch post request, and my Wix save() function are duplicating when called from the browser. IE my post request is sending twice and my save() function is saving duplicate entries into my Wix database. I’ve tried moving the calls to different .jsw files and they’re still duplicating.

Thoughts?

From where are you making the calls? In the onReady() function? It might be that the functions are being called from both server side and front end rendering.

See the renderCycle property for more information.