Skip to content

Commit

Permalink
optimizing code
Browse files Browse the repository at this point in the history
  • Loading branch information
BigOleHealz committed Oct 31, 2024
1 parent 1b7ab96 commit c6758d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions services/jira/jira_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ def map_jira_to_github_event_payload(jira_payload: Dict[str, Any]) -> GitHubEven
issue_id: int = int(jira_payload["issue"]["id"])
issue_key: str = jira_payload["issue"]["key"]


# repo_url: str = f"git@github.com:{jira_payload['user']['displayName']}/{jira_payload['issue']['fields']['project']['name']}.git"

repo_url: str = next((label for label in issue_fields["labels"] if label.startswith("https://github.com/")), None)

# Build the GitHubLabeledPayload type
Expand Down

0 comments on commit c6758d2

Please sign in to comment.