File tree 2 files changed +2
-0
lines changed
src/routes/CreateNewTeam/pages/CreateTaasPayment 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ const PaymentForm = ({ calculatedAmount }) => {
142
142
} else if ( payload . paymentIntent . status === "succeeded" ) {
143
143
toastr . success ( "Payment is successful" ) ;
144
144
// setRequestLoading(true);
145
+ teamObject . positions = _ . map ( teamObject . positions , p => _ . omit ( p , 'isCustomRole' ) )
145
146
postTeamRequest ( teamObject )
146
147
. then ( ( res ) => {
147
148
setProjectId ( _ . get ( res , "data.projectId" ) ) ;
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const PaymentRule = () => {
22
22
23
23
const handlePostTeam = async ( e ) => {
24
24
setProcessing ( true ) ;
25
+ teamObject . positions = _ . map ( teamObject . positions , p => _ . omit ( p , 'isCustomRole' ) )
25
26
postTeamRequest ( teamObject )
26
27
. then ( ( res ) => {
27
28
const projectId = _ . get ( res , "data.projectId" ) ;
You can’t perform that action at this time.
0 commit comments