fix:edit agent

This commit is contained in:
Rama Priyanto 2026-02-09 13:59:24 +07:00
parent b71eb3435e
commit 760d72ac7e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func (_i *AgentRouter) RegisterAgentRoutes() {
router.Get("/", agentController.All)
router.Get("/:id", agentController.Show)
router.Get("/agent_id/:agentId", agentController.FindByAgentId)
router.Put("/:id", agentController.Update)
router.Post("/", agentController.Save)
router.Delete("/:id", agentController.Delete)
})