Merge branch 'master' of https://github.com/merelendor/evoleasing-account
This commit is contained in:
commit
aa287c03f6
@ -201,6 +201,14 @@ export default async function handler(req, res)
|
||||
uploadFile({ deal_id, local_filename: zip_filename, filename: zip_filename, name: document.name, id: document.id, crm_jwt })
|
||||
.then(() =>
|
||||
{
|
||||
axios.post(`${ process.env.CRM_API_HOST }/lk/ConsiderationOpportunity/documentdone?opp_number=${ deal_id }`, {}, {
|
||||
headers: {
|
||||
"Authorization": `Bearer ${ crm_jwt }`,
|
||||
},
|
||||
withCredentials: true, }
|
||||
)
|
||||
.then(() => {})
|
||||
.catch(() => {});
|
||||
callback();
|
||||
});
|
||||
})
|
||||
|
||||
@ -40,7 +40,6 @@ class IndexPage extends React.Component
|
||||
|
||||
static getDerivedStateFromProps(nextProps, prevState)
|
||||
{
|
||||
console.log("getDerivedStateFromProps", "edo", nextProps);
|
||||
return {
|
||||
observer: nextProps.observer,
|
||||
user: nextProps.user,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user