The generated code was in some cases hardcoded to expect the parameter for the API endpoint to be named body. In the case of nakama.rpc_func() the argument was named payload instead of body. This PR uses the actual parameter name instead of the hardcoded name.
The generated code was in some cases hardcoded to expect the parameter for the API endpoint to be named
body
. In the case of nakama.rpc_func() the argument was namedpayload
instead ofbody
. This PR uses the actual parameter name instead of the hardcoded name.Fixes #72