Skip to content

Commit 07d5fe8

Browse files
Update src/app/payments/topup/route.ts
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
1 parent 97c8a7c commit 07d5fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/payments/topup/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function POST(request: NextRequest): Promise<NextResponse<unknown>>
6666

6767
let stripeCustomerId: string | null | undefined;
6868
if (organizationId) {
69-
const orgContext = await getAuthorizedOrgContext(organizationId);
69+
const orgContext = await getAuthorizedOrgContext(organizationId, ['owner', 'billing_manager']);
7070
if (!orgContext.success) {
7171
return orgContext.nextResponse;
7272
}

0 commit comments

Comments
 (0)