diff --git a/index.js b/index.js index 75bad146a..1cf63d35a 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ app.post('/:col/:key', async (req, res) => { const col = req.params.col const key = req.params.key - console.log(`from collection: ${col} delete key: ${key} with params ${JSON.stringify(req.params)}`) + console.log(`from collection: ${col} create or update key: ${key} with params ${JSON.stringify(req.params)}`) const item = await db.collection(col).set(key, req.body) console.log(JSON.stringify(item, null, 2)) res.json(item).end()