Skip to content

Commit

Permalink
fix: Rename match variable in external feature resources (#4490)
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa authored Aug 13, 2024
1 parent 19d5af9 commit bf82b9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/features/feature_external_resources/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def create(self, request, *args, **kwargs):
status=status.HTTP_400_BAD_REQUEST,
)

match = re.search(pattern, url)
if match:
owner, repo, issue = match.groups()
url_match = re.search(pattern, url)
if url_match:
owner, repo, issue = url_match.groups()
if GithubRepository.objects.get(
github_configuration=github_configuration,
repository_owner=owner,
Expand Down

0 comments on commit bf82b9d

Please sign in to comment.