update the agent code for admin

This commit is contained in:
mahyargdz
2025-05-27 17:14:14 +03:30
parent d24481b598
commit 43e49f96f7
4 changed files with 139 additions and 12 deletions
+1
View File
@@ -231,6 +231,7 @@ router.get('/agentPr/:agent_id', hasPermission('agents'), pieceRequestController
router.put('/updateAgent/:id', hasPermission('agentUpdate'), representationController.update_representation_by_admin)
router.post('/revokeAgent/:id', hasPermission('agentUpdate'), representationController.revoke_representation_by_admin)
router.get('/revokedAgents', representationController.get_revoked_agents_for_admin)
router.put('/updateAgentCode/:id', hasPermission('agentUpdate'), representationController.update_agent_code)
// update files
router.post(