From 0f4c2d7f21869889f0dc9385d703c6fa2a9d13d9 Mon Sep 17 00:00:00 2001 From: Chandra Y Date: Wed, 3 Jan 2024 16:14:24 -0600 Subject: [PATCH] Remove submodule added in a previous PR --- Core-Portal | 1 - server/portal/apps/projects/views.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 160000 Core-Portal diff --git a/Core-Portal b/Core-Portal deleted file mode 160000 index 272c63258..000000000 --- a/Core-Portal +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 272c63258beb289659dd2d5f6454f9f414923bc2 diff --git a/server/portal/apps/projects/views.py b/server/portal/apps/projects/views.py index f50c414bf..63d3f4617 100644 --- a/server/portal/apps/projects/views.py +++ b/server/portal/apps/projects/views.py @@ -137,6 +137,7 @@ def get(self, request, project_id=None, system_id=None): :param str project_id: Project Id. :param str system_id: System Id. """ + # Based on url mapping, either system_id or project_id is always available. if system_id is not None: project_id = system_id.split(f"{settings.PORTAL_PROJECTS_SYSTEM_PREFIX}.")[1]