diff --git a/repository/repository.go b/repository/repository.go index 1c98cda..fec6674 100644 --- a/repository/repository.go +++ b/repository/repository.go @@ -71,6 +71,21 @@ func (repo *Repository) FindById(id string) Identity { if md, ok := repo.relayMap[id]; ok { return md } + if md, ok := repo.physicalSectionMap[id]; ok { + return md + } + if md, ok := repo.checkPointMap[id]; ok { + return md + } + if md, ok := repo.responderMap[id]; ok { + return md + } + if md, ok := repo.stationMap[id]; ok { + return md + } + if md, ok := repo.platformMap[id]; ok { + return md + } return nil }