From 809b0db5e5a309cba1406ba54d5423324e690821 Mon Sep 17 00:00:00 2001 From: Katos <7927609+katosdev@users.noreply.github.com> Date: Fri, 12 Jul 2024 22:21:01 +0000 Subject: [PATCH] Remove ... another ... redundant function. --- backend/internal/data/repo/repo_items.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/internal/data/repo/repo_items.go b/backend/internal/data/repo/repo_items.go index 8328418c..d86d3035 100644 --- a/backend/internal/data/repo/repo_items.go +++ b/backend/internal/data/repo/repo_items.go @@ -596,7 +596,6 @@ func (e *ItemsRepository) UpdateByGroup(ctx context.Context, GID uuid.UUID, data SetManufacturer(data.Manufacturer). SetArchived(data.Archived). SetPurchaseTime(data.PurchaseTime.Time()). - SetPurchaseMethod(data.PurchaseMethod). SetPurchaseFrom(data.PurchaseFrom). SetPurchasePrice(data.PurchasePrice). SetSoldTime(data.SoldTime.Time()).