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

Available as saas #393

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

avanegasp
Copy link

@avanegasp avanegasp commented Jan 1, 2025

  • Available As Saas True

  • Reusable Alert

  • Show input only when available as saas is true

  • Post v1/payments/academy/plan/${planSlug}/subscription

available_as_saas

Copy link

vercel bot commented Jan 1, 2025

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

Name Status Preview Comments Updated (UTC)
academy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 3:08pm

@avanegasp avanegasp marked this pull request as ready for review January 1, 2025 20:01
@avanegasp
Copy link
Author

};

return (

<Formik

initialValues={initialValues}
onSubmit={(values) => postAcademyStudentProfile(values)}
onSubmit={(values) => {
if (!selectedPlans || selectedPlans.lenght === 0){
Copy link
Collaborator

Choose a reason for hiding this comment

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

length is misspelled

asyncSearch={() => {
const selectedCohortSlug = cohort.length > 0 ? cohort[0].slug : null;
if (selectedCohortSlug) {
return axios.get(`${config.REACT_APP_API_HOST}/v1/payments/plan?cohort=${selectedCohortSlug}`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add this request in the payments object of requests located in the /services/breathecode.js file

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