Hey guys,
I have set up Moralis Auth on my website for my self hosted server. When I sign in, my mongodb gets updated with the user, address, etc, however it still doesn’t get updated with my event data from streams.
This is the function I am using to update the database:
export async function parseUpdate(cloneAddress: string) {
try {
const NewClone = Parse.Object.extend("NewClones")
const newClone = new NewClone()
newClone.set("cloneAddress", cloneAddress)
console.log("DB updated!")
} catch (e: any) {
console.log(e)
}
No errors show up in my console and I get the “DB Updated!” Message. An error however does show up in my Parse Dashboard error logs which says: Can not find subscription with clientId f78eb44e-7025-4c0c-911a-2acc109fe0bf subscriptionId 1
Could this be the reason my database isn’t updating, and if so, do you have any idea how I can solve it?
Thanks!
NOTE: I’m using Moralis v2 on my server and moralis v1 on the client side. Don’t know if that makes a difference.