I am trying to use Web3.js to push values from my frontend to a dynamic struct array in my backend.
However, I am receiving an error that I need to provide a parameter to my frontend: "Unhandled Rejection (Error): Invalid number of parameters for "challenges". Got 0 expected 1!"
I have no idea what this parameter is. Would anyone happen to know what this parameter could be? My code is provided below. Help would be insanely appreciated!