Skip to content

fix: remove org slug references, use org id for all api paths#96

Merged
lee-reinhardt merged 1 commit intomainfrom
lee-eng-1501
Mar 12, 2026
Merged

fix: remove org slug references, use org id for all api paths#96
lee-reinhardt merged 1 commit intomainfrom
lee-eng-1501

Conversation

@lee-reinhardt
Copy link
Member

@lee-reinhardt lee-reinhardt commented Mar 12, 2026

Summary

  • Remove slug field from OrgInfo struct — the connect platform no longer returns it
  • All API paths now use org ID instead of slug (/orgs/:org_id/...)
  • CLI display/help text updated: org name + ID shown instead of slug
  • connect init now writes org ID (not slug) into avocado.yaml

Test plan

  • cargo check passes
  • avocado connect auth status — no deserialization error, shows org name + ID
  • avocado connect init — writes correct org ID to avocado.yaml
  • avocado connect orgs list — shows NAME/ID/ROLE columns

@lee-reinhardt lee-reinhardt force-pushed the lee-eng-1501 branch 2 times, most recently from b5645fd to 5ba4bbc Compare March 12, 2026 17:02
@lee-reinhardt lee-reinhardt force-pushed the lee-eng-1501 branch 2 times, most recently from 80ebbdb to e4338da Compare March 12, 2026 17:36
@lee-reinhardt lee-reinhardt merged commit 1a68fb4 into main Mar 12, 2026
5 checks passed
@lee-reinhardt lee-reinhardt deleted the lee-eng-1501 branch March 12, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants