Skip to content

Commit

Permalink
unit tests found a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Nov 9, 2024
1 parent ee48a63 commit 3edbdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3edbdf1

Please sign in to comment.