style: remove -> del

This commit is contained in:
Girish Ramakrishnan
2024-12-03 17:02:40 +01:00
parent 423dfb6ace
commit fdf8025a02
8 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ async function initializeExpressSync() {
router.get ('/api/v1/groups/:groupId', token, authorizeUserManager, routes.groups.load, routes.groups.get);
router.put ('/api/v1/groups/:groupId/members', json, token, authorizeUserManager, routes.groups.load, routes.groups.setMembers);
router.put ('/api/v1/groups/:groupId/name', json, token, authorizeUserManager, routes.groups.load, routes.groups.setName);
router.del ('/api/v1/groups/:groupId', token, authorizeUserManager, routes.groups.load, routes.groups.remove);
router.del ('/api/v1/groups/:groupId', token, authorizeUserManager, routes.groups.load, routes.groups.del);
// User directory
router.get ('/api/v1/user_directory/profile_config', token, authorizeAdmin, routes.userDirectory.getProfileConfig);
@@ -300,7 +300,7 @@ async function initializeExpressSync() {
router.post('/api/v1/applinks', json, token, authorizeAdmin, routes.applinks.add);
router.get ('/api/v1/applinks/:id', token, authorizeAdmin, routes.applinks.get);
router.post('/api/v1/applinks/:id', json, token, authorizeAdmin, routes.applinks.update);
router.del ('/api/v1/applinks/:id', token, authorizeAdmin, routes.applinks.remove);
router.del ('/api/v1/applinks/:id', token, authorizeAdmin, routes.applinks.del);
router.get ('/api/v1/applinks/:id/icon', token, authorizeUser, routes.applinks.getIcon);
// branding routes