Bug fix 74/10974/1
authorychacon <yennifer.chacon@est.tech>
Tue, 25 Apr 2023 08:02:56 +0000 (10:02 +0200)
committerychacon <yennifer.chacon@est.tech>
Tue, 25 Apr 2023 08:02:56 +0000 (10:02 +0200)
Issue-ID: NONRTRIC-861
Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: Id77be8cfb5d857cb722277d11fda33b464c09a64

capifcore/internal/providermanagementapi/typeaccess.go

index 78b68c0..5257701 100644 (file)
@@ -22,7 +22,7 @@ package providermanagementapi
 
 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()
                }
        }