We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef6e268 commit 1b7c0fbCopy full SHA for 1b7c0fb
src/app.ts
@@ -110,7 +110,7 @@ export function createApp(db: Low<Data>, options: AppOptions = {}) {
110
111
app.delete('/:name/:id', async (req, res, next) => {
112
const { name = '', id = '' } = req.params
113
- res.locals['data'] = await service.destroyById(name, id, req.query['dependent'])
+ res.locals['data'] = await service.destroyById(name, id, req.query['_dependent'])
114
next()
115
})
116
0 commit comments