From 3edbdf117307060aad0dc687567576ba149ab64b Mon Sep 17 00:00:00 2001 From: caffix Date: Sat, 9 Nov 2024 20:51:52 +0000 Subject: [PATCH] unit tests found a bug --- repository/tag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/tag.go b/repository/tag.go index bbe7e0f..c2a0127 100644 --- a/repository/tag.go +++ b/repository/tag.go @@ -232,7 +232,7 @@ func (sql *sqlRepository) FindEdgeTagById(id string, since time.Time) (*types.Ed } var result *gorm.DB - tag := EntityTag{ID: tagId} + tag := EdgeTag{ID: tagId} if since.IsZero() { result = sql.db.First(&tag) } else {