feat: validation to add user

This commit is contained in:
prafull-opensignlabs
2024-08-07 20:02:41 +05:30
parent 76b90f9bc0
commit 908edda14b
20 changed files with 13841 additions and 17728 deletions
@@ -18,9 +18,7 @@ export default async function ZohoDetails(request) {
formData.append('redirect_uri', process.env.ZOHO_REDIRECT_URI);
formData.append('grant_type', 'refresh_token');
const headers = {
'Content-Type': 'application/x-www-form-urlencoded',
};
const headers = { 'Content-Type': 'application/x-www-form-urlencoded' };
// Make the POST request using Axios
const res = await axios.post(url, formData, { headers });
// console.log("Access Token:", res.data);