From e02fe2538be426f1c633c154188ccccb49376a63 Mon Sep 17 00:00:00 2001 From: Novak Zaballa Date: Tue, 13 Aug 2024 09:16:09 -0400 Subject: [PATCH] fix: Rename match variable in external feature resources --- api/features/feature_external_resources/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/features/feature_external_resources/views.py b/api/features/feature_external_resources/views.py index 641074215fe6..002a8e5da89a 100644 --- a/api/features/feature_external_resources/views.py +++ b/api/features/feature_external_resources/views.py @@ -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,