diff --git a/locker_server/api/v1_0/releases/views.py b/locker_server/api/v1_0/releases/views.py index e8d83eb..9b2c182 100644 --- a/locker_server/api/v1_0/releases/views.py +++ b/locker_server/api/v1_0/releases/views.py @@ -80,7 +80,7 @@ def current(self, request, *args, **kwargs): data = { "version": version, "environment": environment, - "checksum": latest_release.get_checksum(), + "checksum": latest_release.get_checksum() if latest_release else {}, "platform": platform } return Response(status=status.HTTP_200_OK, data=data)