I was asked to put this issue up here for a fix:
Intermittently the server will reset my users tokens. There is no rhyme, reason or schedule that I can discern.
When this happens the users ratio gets reset to 0, and obviously this is a huge problem. One thing to note is that I manually “cheat” and constantly give my user fake ratio via the chrome console running the User.set() command.
It would be good to have more then one server so I could test better but I need to go Pro for that and am unable to at the moment.
Error: schema mismatch for _User.ratio; expected String but got Number
at SchemaController.enforceFieldExists (/moralis-server/lib/Controllers/SchemaController.js:1250:15)
at SchemaController.validateObject (/moralis-server/lib/Controllers/SchemaController.js:1391:28)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)