From dcb72fb18b860115ab86930132aaf67a3c19ab3e Mon Sep 17 00:00:00 2001 From: James Tanner <tanner.jc@gmail.com> Date: Tue, 12 Sep 2023 12:32:02 -0400 Subject: [PATCH] Fix logic. No-Issue Signed-off-by: James Tanner <tanner.jc@gmail.com> --- galaxy_ng/social/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy_ng/social/__init__.py b/galaxy_ng/social/__init__.py index b333a43f87..f4bc2c58d5 100644 --- a/galaxy_ng/social/__init__.py +++ b/galaxy_ng/social/__init__.py @@ -84,7 +84,7 @@ def handle_v3_namespace(self, session_user, session_email, session_login, github if not self.validate_namespace_name(namespace_name): print(f'DID NOT VALIDATE NAMESPACE NAME: {namespace_name}') - return + return False, False # does the namespace already exist? found_namespace = Namespace.objects.filter(name=namespace_name).first() @@ -100,7 +100,7 @@ def handle_v3_namespace(self, session_user, session_email, session_login, github print(f'FOUND EXISTING OWNERS: {owners}') if session_user in owners: - return found_namespace + return found_namespace, False # should always have a namespace ... if found_namespace: