diff options
| -rw-r--r-- | index.js | 2 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 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.'); diff --git a/package.json b/package.json index c6fe556..897c5d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "faaslift", - "version": "1.0.3", + "version": "1.0.4", "description": "", "main": "index.js", "scripts": { |
