Skip to content

Deployments via GH Action are broken for users with multiple teams #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bohdan-shulha opened this issue Aug 28, 2024 · 0 comments
Closed
Milestone

Comments

@bohdan-shulha
Copy link
Contributor

Looks like an another problem with $user->currentTeam piece.

The team 2 has an expired subscription and the middleware seems to be redirecting a user to the billing page.

The fixes are the next:

  1. Separate middleware for API (or adjust existing one to be aware of API requests as well);
  2. Most probably, the service slug has to contain a team slug as well.
image
@bohdan-shulha bohdan-shulha added the bug Something isn't working label Aug 28, 2024
@bohdan-shulha bohdan-shulha added this to the Post-MVP milestone Aug 28, 2024
This was referenced Aug 28, 2024
@bohdan-shulha bohdan-shulha removed the bug Something isn't working label Oct 2, 2024
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

No branches or pull requests

1 participant