From 459ebcc63b0962e5895e406cb68fd7ab8748d235 Mon Sep 17 00:00:00 2001 From: Samuel Tariku Date: Wed, 15 Oct 2025 20:56:14 +0300 Subject: [PATCH] fix: supported operations viwe --- internal/web_server/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web_server/routes.go b/internal/web_server/routes.go index 92dad34..7fc7049 100644 --- a/internal/web_server/routes.go +++ b/internal/web_server/routes.go @@ -319,7 +319,7 @@ func (a *App) initAppRoutes() { groupV1.Get("/branchCashier", a.authMiddleware, a.CompanyOnly, h.GetBranchForCashier) // Branch Operation - groupV1.Get("/supportedOperation", a.authMiddleware, a.SuperAdminOnly, h.GetAllSupportedOperations) + groupV1.Get("/supportedOperation", a.authMiddleware, h.GetAllSupportedOperations) groupV1.Post("/supportedOperation", a.authMiddleware, a.SuperAdminOnly, h.CreateSupportedOperation) groupV1.Post("/operation", a.authMiddleware, a.CompanyOnly, h.CreateBranchOperation) groupV1.Get("/branch/:id/operation", a.authMiddleware, a.CompanyOnly, h.GetBranchOperations)