From 760d72ac7e076dd4746dc1d702f5ab7b5430fbdb Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Mon, 9 Feb 2026 13:59:24 +0700 Subject: [PATCH] fix:edit agent --- app/module/agent/agent.module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/module/agent/agent.module.go b/app/module/agent/agent.module.go index b67efac..8504c1a 100644 --- a/app/module/agent/agent.module.go +++ b/app/module/agent/agent.module.go @@ -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) })