From 05000e82e3ac628d4e563092ed6d585f25f96655 Mon Sep 17 00:00:00 2001 From: Quinn Shanahan <3764+quinn@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:53:04 -0400 Subject: [PATCH] fix for allowing paid orgs in addition to paid personal accounts (#48) --- src/claudesync/providers/base_claude_ai.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/claudesync/providers/base_claude_ai.py b/src/claudesync/providers/base_claude_ai.py index b1b1c89..930845c 100644 --- a/src/claudesync/providers/base_claude_ai.py +++ b/src/claudesync/providers/base_claude_ai.py @@ -105,7 +105,8 @@ def get_organizations(self): return [ {"id": org["uuid"], "name": org["name"]} for org in response - if set(["chat", "claude_pro"]).issubset(set(org.get("capabilities", []))) + if ({"chat", "claude_pro"}.issubset(set(org.get("capabilities", []))) or + {"chat", "raven"}.issubset(set(org.get("capabilities", [])))) ] def get_projects(self, organization_id, include_archived=False):