Skip to content

Commit 2e921e3

Browse files
Merge pull request #588 from OpenSignLabs/plan
2 parents b03e1b8 + 686a773 commit 2e921e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/OpenSignServer/cloud/parsefunction/ZohoDetails.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ export default async function ZohoDetails(request) {
2323
};
2424
// Make the POST request using Axios
2525
const res = await axios.post(url, formData, { headers });
26-
2726
// console.log("Access Token:", res.data);
28-
2927
if (res.data.access_token) {
3028
const hostedpages = request.params.hostedpagesId;
3129
const userData = await axios.get('https://billing.zoho.in/api/v1/hostedpages/' + hostedpages, {
3230
headers: {
3331
Authorization: 'Zoho-oauthtoken ' + res.data.access_token,
34-
'X-com-zoho-billing-organizationid': process.env.ZOHO_BILLING_ORG_ID,
32+
'X-com-zoho-subscriptions-organizationid': process.env.ZOHO_BILLING_ORG_ID,
33+
// 'X-com-zoho-billing-organizationid': process.env.ZOHO_BILLING_ORG_ID,
3534
},
3635
});
3736
// console.log(

0 commit comments

Comments
 (0)