Just made the edit and delete screen and connected it with app.js. My admin name was test admin so i wanted to change the admin name when i edited the admin( not from the code but from the website itself) it changed. also changed my email. But the delete user was to give a warning on previous admin email so i ended up deleting all users and never getting any warning since is changed it.
Now in my data.js i made a user but its not working not showing. Can you help me get admin permissions? Data.js is not working anymore idk from where the data is coming and getting stored in my web app
If anything like this happens to anyone just go to the cloud database or the in pc database and change the permissions of admin to true, cause after u have made the database and connected it no changes on the code in tha data section will work every change on the database itself will have effectenter image description here