From c503612d87d6da53379ad5e36a67e45305586ac0 Mon Sep 17 00:00:00 2001 From: Tobias Jungmann <32565407+tobiasjungmann@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:00:01 +0200 Subject: [PATCH] Update server/backend/migration/20231003000000.go Co-authored-by: Frank Elsinga --- server/backend/migration/20231003000000.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/backend/migration/20231003000000.go b/server/backend/migration/20231003000000.go index 710cfadd..d2d3cc54 100644 --- a/server/backend/migration/20231003000000.go +++ b/server/backend/migration/20231003000000.go @@ -87,10 +87,9 @@ func setNameTagOptions(db *gorm.DB) { fields := log.Fields{"en": v.TagNameEnglish, "de": v.TagNameGerman} log.WithError(err).WithFields(fields).Error("Error while creating tag") } - parentId = parent.DishNameTagOption - addCanBeIncluded(parentId, db, v) - addNotIncluded(parentId, db, v) + addCanBeIncluded(parent.DishNameTagOption, db, v) + addNotIncluded(parent.DishNameTagOption, db, v) } }