Skip to content
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

billing: enterprise products #1854

Merged
merged 5 commits into from
Aug 21, 2023
Merged

billing: enterprise products #1854

merged 5 commits into from
Aug 21, 2023

Conversation

gioelecerati
Copy link
Member

@gioelecerati gioelecerati commented Aug 18, 2023

What does this pull request do? Explain your changes. (required)

  • Adding enterprise products
  • Fixed a typo for storage limits on the hacker plan
  • Created an admin API to subscribe users to enteprise plan

Specific updates (required)

How did you test each of these updates (required)

Does this pull request close any open issues?

Screenshots (optional)

Checklist

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@gioelecerati gioelecerati requested review from a team as code owners August 18, 2023 19:08
@vercel
Copy link

vercel bot commented Aug 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
livepeer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 21, 2023 6:35pm

@@ -699,4 +700,122 @@
});
});

app.post(
"/subscribe-to-enterprise",
authorizer({ anyAdmin: true }),

Check failure

Code scanning / CodeQL

Missing rate limiting

This route handler performs [authorization](1), but is not rate-limited.
Copy link
Member

@victorges victorges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

packages/api/src/config.js Show resolved Hide resolved
packages/api/src/controllers/stripe.ts Show resolved Hide resolved
@gioelecerati gioelecerati merged commit 79f35fe into master Aug 21, 2023
@gioelecerati gioelecerati deleted the gio/billing/enterprise branch August 21, 2023 18:34
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