From 1d9ad49db45b978c559f136c307d135346b1b767 Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Mon, 26 Apr 2021 08:55:54 -0500 Subject: [PATCH] Comment out broken category code for now --- src/models/category.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/models/category.go b/src/models/category.go index 8bd4f7ec..7efb429b 100644 --- a/src/models/category.go +++ b/src/models/category.go @@ -93,9 +93,11 @@ func GetCategoryUrls(ctx context.Context, conn *pgxpool.Pool, cats ...*Category) // TODO(inarray)!!!!! - for _, cat := range cats { - hierarchy := makeCategoryUrl(cat.GetHierarchy(ctx, conn)) - } + //for _, cat := range cats { + // hierarchy := makeCategoryUrl(cat.GetHierarchy(ctx, conn)) + //} + + return nil } func makeCategoryUrl(cats []*Category, subdomain string) string {