Skip to content

fix: restore subscription deployment listing endpoint - #61

Merged
viferga merged 1 commit into
metacall:masterfrom
Somsubhra-Nandi:fix/list-subscriptions-deploys-endpoint
Oct 12, 2026
Merged

viferga merged 1 commit into
metacall:masterfrom
Somsubhra-Nandi:fix/list-subscriptions-deploys-endpoint

Conversation

@Somsubhra-Nandi

Copy link
Copy Markdown
Contributor

Summary

Fixes listSubscriptionsDeploys() calling the incorrect /api/billing/list-subscriptions endpoint instead of /api/billing/list-subscriptions-deploys.

The incorrect endpoint returns subscription plan names rather than the expected SubscriptionDeploy[] objects.

Changes

  • Restored the correct billing endpoint in src/protocol.ts.

Testing

  • Verified the correct endpoint returns HTTP 200 on MetaCall Cloud.
  • Verified the fix using local mock HTTP tests.
  • Lint, typecheck, and build passed.

Signed-off-by: Somsubhra Nandi <nruma325@gmail.com>
@viferga
viferga merged commit 1088b96 into metacall:master Oct 12, 2026
2 checks passed
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