diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ app.all('/:path*', async (req, res) => { return res.send('No such endpoint.'); } - const secretsList = await models.endpoints.find(); + const secretsList = await models.secrets.find(); if (!secretsList) { res.status(500); return res.send('Failed to fetch secrets from the database.'); |
