Replit Database - How do I return the list of keys as JSON?

Hello there,
I'm trying to make a submit system in Express, but I need it to be returned as a JSON.
I tried this:

but everytime i make a GET request to /getDataBase, it doesn't return anything. Could anyone help?

You are viewing a single comment. View All