We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1343ad6 commit b2a1e6dCopy full SHA for b2a1e6d
1 file changed
yepcode_run/api/yepcode_api.py
@@ -140,8 +140,8 @@ def _team_id_from_client_id(self) -> str:
140
if not self.client_id:
141
raise ValueError("Client ID is not set")
142
143
- if self.client_id.startswith("yc-storage-api-sa-"):
144
- return self.client_id.split("-")[4]
+ if self.client_id.startswith("yc-storage-api-sa"):
+ return self.client_id[18:]
145
146
match = re.match(r"^sa-(.*)-[a-z0-9]{8}$", self.client_id)
147
if not match:
0 commit comments