DB queries and JS object set to be run on page load not working

DB queries that set to be run on page load not working in my application . Tried these queries to run inside a JS object on page load but that also did not work for me.

Conversation here - Discord

Will post the solution on this thread as well.

1 Like