feat(bigin-by-zoho-crm): add bigin by zoho crm integration

This commit is contained in:
Rıdvan Akca
2024-02-19 17:23:26 +03:00
parent 024c7476c7
commit b7e38f9d1c
15 changed files with 334 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
const addAuthHeader = ($, requestConfig) => {
if ($.auth.data?.accessToken) {
requestConfig.headers.Authorization = `Zoho-oauthtoken ${$.auth.data.accessToken}`;
}
return requestConfig;
};
export default addAuthHeader;