diff --git a/subject/service.go b/subject/service.go index e7d6a326b..6f2e970f7 100644 --- a/subject/service.go +++ b/subject/service.go @@ -112,6 +112,7 @@ func (s service) GetSubjectRelated( for i, rel := range relations { results[i].Destination = subjects[rel.DestinationID] + results[i].TypeID = rel.TypeID } return results, nil