diff --git a/api/index.ts b/api/index.ts index ecce478..bc3f7e0 100644 --- a/api/index.ts +++ b/api/index.ts @@ -230,6 +230,7 @@ app.delete('/api/ideas/:id', limiter, authenticate, async (req, res) => { // Documents endpoints app.post('/api/documents', + limiter, authenticate, body('type').notEmpty(), body('title').notEmpty(),