- if apiListRequestedServices != nil {
- allowedPublishedServices := intersection(apiListAllPublished, apiListRequestedServices)
- return allowedPublishedServices
- }
- return []publishapi.ServiceAPIDescription{}
+ allowedPublishedServices := intersection(apiListAllPublished, apiListRequestedServices)
+ return allowedPublishedServices