diff --git a/client/starwhale/core/project/model.py b/client/starwhale/core/project/model.py index 3600cfe71d..def107d560 100644 --- a/client/starwhale/core/project/model.py +++ b/client/starwhale/core/project/model.py @@ -203,7 +203,7 @@ def list( id=_p["id"], name=_p["name"], created_at=crm.fmt_timestamp(_p["createdTime"]), # type: ignore - is_default=_p["isDefault"], + is_default=_p.get("isDefault", 0), owner=owner, ) )