Truing to fill the "where" in a database query.
The database collection columns is LeadID
I replace the localStorage.LeadID('text') for the actual LeadID number to test and it works. I need to use the local storage variable instead. The local variable is working, I can see it on the Browser tools with its value.
This is what I am entering in the where field
{'LeadID':'localStorage.LeadID('text')'}