diff --git a/internal/handler/category_handler.go b/internal/handler/category_handler.go index 6f7d87e..0504d44 100644 --- a/internal/handler/category_handler.go +++ b/internal/handler/category_handler.go @@ -138,10 +138,12 @@ func (h *CategoryHandler) GetCategory(c *gin.Context) { func (h *CategoryHandler) ListCategories(c *gin.Context) { ctx := c.Request.Context() + contextInfo := appcontext.FromGinContext(ctx) req := &contract.ListCategoriesRequest{ - Page: 1, - Limit: 10, + Page: 1, + Limit: 10, + OrganizationID: &contextInfo.OrganizationID, } // Parse query parameters