1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 06:19:38 +02:00

Fix condition for Google Maps integration check in IntegrationView

This commit is contained in:
Sean Morley 2025-05-25 22:25:36 -04:00
parent e56335d30f
commit f355ba48e2

View file

@ -16,7 +16,7 @@ class IntegrationView(viewsets.ViewSet):
RESTful GET method for listing all integrations.
"""
immich_integrations = ImmichIntegration.objects.filter(user=request.user)
google_map_integration = settings.GOOGLE_MAPS_API_KEY is not ''
google_map_integration = settings.GOOGLE_MAPS_API_KEY != ''
return Response(
{