From 98122690df3d1b9ed9569bc78f42488dd2beb00a Mon Sep 17 00:00:00 2001 From: clearml <> Date: Wed, 4 Jun 2025 11:51:41 +0300 Subject: [PATCH] Fix empty object might be returned to the client for Google JSON credentials --- apiserver/bll/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/bll/storage/__init__.py b/apiserver/bll/storage/__init__.py index 0957700..f2b87bc 100644 --- a/apiserver/bll/storage/__init__.py +++ b/apiserver/bll/storage/__init__.py @@ -199,7 +199,7 @@ class StorageBLL: ) gs_dict = { "project": gs._default_project, - "credentials_json": gs._default_credentials, + "credentials_json": gs._default_credentials or None, "buckets": [attr.asdict(b) for b in gs._buckets], }