mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 03:28:58 +00:00
Delete array/brackets in /v2/secrets DELETE route
This commit is contained in:
@@ -137,7 +137,6 @@ router.patch(
|
||||
|
||||
router.delete(
|
||||
'/',
|
||||
[
|
||||
body('secretIds')
|
||||
.exists()
|
||||
.custom((value) => {
|
||||
@@ -153,8 +152,7 @@ router.delete(
|
||||
throw new Error('secretIds must be a string or an array of strings');
|
||||
})
|
||||
.not()
|
||||
.isEmpty()
|
||||
],
|
||||
.isEmpty(),
|
||||
validateRequest,
|
||||
requireAuth({
|
||||
acceptedAuthModes: ['jwt']
|
||||
|
||||
Reference in New Issue
Block a user