-
Notifications
You must be signed in to change notification settings - Fork 34
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
base: development
Are you sure you want to change the base?
Available as saas #393
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}; | ||
|
||
return ( | ||
|
||
<Formik | ||
|
||
initialValues={initialValues} | ||
onSubmit={(values) => postAcademyStudentProfile(values)} | ||
onSubmit={(values) => { | ||
if (!selectedPlans || selectedPlans.lenght === 0){ |
There was a problem hiding this comment.
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}`) |
There was a problem hiding this comment.
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
Available As Saas True
Reusable Alert
Show input only when available as saas is true
Post v1/payments/academy/plan/${planSlug}/subscription