Commit 5bdd18f9 authored by JorgeEcheva26's avatar JorgeEcheva26
Browse files

mistake in code

parent 33176a9e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -463,13 +463,16 @@ class capif_provider_connector:
                for profile, aef_id in zip(data.get("aefProfiles", []), AEFs_list):
                    profile["aefId"] = aef_id
                    for versions in profile["versions"]:
                        for custom in versions["custOperations"]:
                        check = True
                        revoke = True
                        for custom in versions["custOperations"]:
                            if custom["custOpName"] == "check-authentication":
                                check = False
                            if custom["custOpName"] == "revoke-authentication":
                                revoke = False
                            # Si ambas condiciones ya son falsas, salir del bucle
                            if not check and not revoke:
                                break
                        # If 'check-authentication' custom operation doesn't exist, add it
                        if check:
                            versions["custOperations"].append({
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "opencapif_sdk"
version = "0.1.11"
version = "0.1.12"
authors = [
    { name="JorgeEcheva", email="jorge.echevarriauribarri.practicas@telefonica.com" },
    { name="dgs-cgm", email="daniel.garciasanchez@telefonica.com" }
+1 −1
Original line number Diff line number Diff line
@@ -5,5 +5,5 @@ from setuptools import setup, find_packages
setup(
    name='opencapif_sdk',
    packages=find_packages(include=["opencapif_sdk"]),
    version="0.1.11",
    version="0.1.12",
)
 No newline at end of file