Closed thomasbrq closed 5 months ago
Thanks, but nakama.lua
is generated from an API definition. See the codegen
folder. The name payload
originates from the API definition:
https://github.com/heroiclabs/nakama/blob/master/apigrpc/apigrpc.swagger.json#L2878-L2886
I see now though that there is both a key
and an in
field for each parameter and in the case of payload
the in
field has value body
. This might be a new thing that the code generator doesn't take into account. I'll look into it!
Submitted new PR here: https://github.com/heroiclabs/nakama-defold/pull/73
An error was returned because the parameter was
payload
instead ofbody
.