Skip to content

Commit

Permalink
fix for allowing paid orgs in addition to paid personal accounts (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinn authored Aug 13, 2024
1 parent baa3de0 commit 05000e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/claudesync/providers/base_claude_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 05000e8

Please sign in to comment.