When I use this code in my cloud functions, the value is never set on the database:
const userEthAddr = await request.user.get("ethAddress");
const GameState = Moralis.Object.extend("GameStates");
const gameState = new GameState();
gameState.set (userEthAddr, {"id": userEthAddr, "ready": false})
await gameState.save ()
Can anyone help me with this issue? Any tips would be greatly appreciated!