Skip to content

Commit

Permalink
Add controllers for deleting batches and fix syntax errors in the man…
Browse files Browse the repository at this point in the history
…agement script file
  • Loading branch information
wolfganggreschus committed Jan 31, 2025
1 parent b0e18a9 commit 0e2b8ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions controllers/management/managementRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ router.use(authHelper.authChecker);

router.get('/releases', controllerLogic.fetchReleases);
router.post('/uploadConsent', controllerLogic.updateInstancePolicy);
router.post('/delete-batches', () => { console.log('controller to create');});
router.get('/', controllerLogic.mainRoute);

module.exports = router;


4 changes: 2 additions & 2 deletions static/scripts/management.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const loadPolicyFile = () => {
if (file) {
reader.readAsDataURL(file);
}
})
}
});
};

$(document).ready(() => {
const $addConsentModal = $('.add-modal--policy');
Expand Down

0 comments on commit 0e2b8ef

Please sign in to comment.