wix-fetch sends multiple requests?

I guess the frontend code gets called twice. Anyway I solved it by catching this issue on the backend. Though it still seems to be a weird thing to happen.