Skip to content

Commit 5f24cb2

Browse files
Andrew Farriesroboquat
Andrew Farries
authored andcommitted
Check correct method name in subscribeTeamToStripe
1 parent 7a23e97 commit 5f24cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/server/ee/src/workspace/gitpod-server-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ export class GitpodServerEEImpl extends GitpodServerImpl {
21252125

21262126
protected defaultSpendingLimit = 100;
21272127
async subscribeTeamToStripe(ctx: TraceContext, teamId: string, setupIntentId: string): Promise<void> {
2128-
this.checkAndBlockUser("subscribeUserToStripe");
2128+
this.checkAndBlockUser("subscribeTeamToStripe");
21292129
const team = await this.guardTeamOperation(teamId, "update");
21302130
await this.ensureStripeApiIsAllowed({ team });
21312131
try {

0 commit comments

Comments
 (0)