From 174c826fe7830dbdfb664b09f97ab871e5f83717 Mon Sep 17 00:00:00 2001 From: Demid Date: Fri, 17 Nov 2023 12:45:25 +0000 Subject: [PATCH] fix: redundant string conversion Co-authored-by: Piotr Surowiec --- enterprise/api/v1/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/api/v1/views.py b/enterprise/api/v1/views.py index d13755b3d6..fb0f820cda 100644 --- a/enterprise/api/v1/views.py +++ b/enterprise/api/v1/views.py @@ -552,7 +552,7 @@ def algolia_key(self, request, *args, **kwargs): settings.ENTERPRISE_ALGOLIA_SEARCH_API_KEY, { "filters": " OR ".join( - f"enterprise_customer_uuids:{str(enterprise_customer_uuid)}" + f"enterprise_customer_uuids:{enterprise_customer_uuid}" for enterprise_customer_uuid in queryset ),