mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 21:37:59 +00:00
change api from post to patch, fix spelling mistakes
This commit is contained in:
@@ -119,8 +119,8 @@ router.delete( // TODO - rewire dashboard to this route
|
||||
);
|
||||
|
||||
|
||||
router.post(
|
||||
'/:workspaceId/settings',
|
||||
router.patch(
|
||||
'/:workspaceId/auto-capitalization',
|
||||
requireAuth({
|
||||
acceptedAuthModes: ['jwt']
|
||||
}),
|
||||
@@ -130,7 +130,7 @@ router.post(
|
||||
param('workspaceId').exists().trim(),
|
||||
body('autoCapitalization').exists().trim().notEmpty(),
|
||||
validateRequest,
|
||||
workspaceController.toggleAutoCapitilzation
|
||||
workspaceController.toggleAutoCapitalization
|
||||
);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user