Bug fix

Issue-ID: NONRTRIC-861
Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: Id77be8cfb5d857cb722277d11fda33b464c09a64
diff --git a/capifcore/internal/providermanagementapi/typeaccess.go b/capifcore/internal/providermanagementapi/typeaccess.go
index 78b68c0..5257701 100644
--- a/capifcore/internal/providermanagementapi/typeaccess.go
+++ b/capifcore/internal/providermanagementapi/typeaccess.go
@@ -22,7 +22,7 @@
 
 func (ed APIProviderEnrolmentDetails) GetExposingFunctionIdsForPublisher(apfId string) []string {
 	for _, registeredFunc := range *ed.ApiProvFuncs {
-		if *registeredFunc.ApiProvFuncId == apfId && registeredFunc.isProvidingFunction() {
+		if *registeredFunc.ApiProvFuncId == apfId {
 			return ed.getExposingFunctionIds()
 		}
 	}