Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Conversation

@adrianafdez
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a parameter name inconsistency in the patch_onboarded_app_gsma method by correcting the key used to extract app component specifications from the request body.

  • Corrects the request body parameter key from "appComponents" to "appComponentSpecs"

response = i2edge_get(url, params, expected_status=200)
response_json = response.json()
app_component_specs = request_body.get("appComponents")
app_component_specs = request_body.get("appComponentSpecs")
Copy link

Copilot AI Aug 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter key has been changed from "appComponents" to "appComponentSpecs" but this creates an inconsistency with line 1040 where the same data is assigned to "appComponentSpecs" in the response. If the input parameter is now "appComponentSpecs", this suggests the original key was correct and this change may break existing API consumers.

Suggested change
app_component_specs = request_body.get("appComponentSpecs")
app_component_specs = request_body.get("appComponents")

Copilot uses AI. Check for mistakes.
@adrian-pino adrian-pino merged commit 5354fb1 into main Aug 6, 2025
2 checks passed
@adrian-pino adrian-pino deleted the feature/add-edgecloud-gsma-i2edge branch August 6, 2025 13:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants