We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16eacba commit 9593fefCopy full SHA for 9593fef
components/server/ee/src/workspace/gitpod-server-impl.ts
@@ -1907,7 +1907,7 @@ export class GitpodServerEEImpl extends GitpodServerImpl {
1907
async findStripeSubscriptionIdForTeam(ctx: TraceContext, teamId: string): Promise<string | undefined> {
1908
const user = this.checkAndBlockUser("findStripeSubscriptionIdForTeam");
1909
await this.ensureIsUsageBasedFeatureFlagEnabled(user);
1910
- await this.guardTeamOperation(teamId, "update");
+ await this.guardTeamOperation(teamId, "get");
1911
try {
1912
const customer = await this.stripeService.findCustomerByTeamId(teamId);
1913
if (!customer?.id) {
0 commit comments