refactor: remove redundant current relation override

This commit is contained in:
2026-05-24 20:50:52 +02:00
parent 679c26e43f
commit 31b763b714

View File

@@ -176,9 +176,6 @@ func (c *Client) GetFullRelations(ctx context.Context, id int) ([]RelationEntry,
IsCurrent: res.entry.ID == id,
IsExtra: false,
})
if res.entry.ID == id {
relations[len(relations)-1].Relation = "Current"
}
}
if !seen[id] {