brynq-sdk-zoho 1.0.2__tar.gz → 1.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq_sdk_zoho
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: ZOHO wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -30,12 +30,10 @@ class ExtractZohoDesk(BrynQ):
30
30
  credentials = self.get_system_credential(system='zoho-desk', label=label)
31
31
 
32
32
  # With those credentials, get the access_token from Tracket
33
- org_id = credentials["config"]["organisation_id"]
34
33
  zoho_system_id = credentials["id"]
35
34
  token = BrynQ().refresh_system_credential(system="zoho-desk", system_id=zoho_system_id)["access_token"]
36
35
  headers = {
37
- 'Authorization': f'Zoho-oauthtoken {token}',
38
- 'orgId': f'{org_id}',
36
+ 'Authorization': f'Zoho-oauthtoken {token}'
39
37
  }
40
38
  return headers
41
39
 
@@ -29,12 +29,10 @@ class UploadZohoDesk(BrynQ):
29
29
  credentials = self.get_system_credential(system='zoho-desk', label=label)
30
30
 
31
31
  # With those credentials, get the access_token from Tracket
32
- org_id = credentials["config"]["organisation_id"]
33
32
  zoho_system_id = credentials["id"]
34
33
  token = BrynQ().refresh_system_credential(system="zoho-desk", system_id=zoho_system_id)["access_token"]
35
34
  headers = {
36
35
  'Authorization': f'Zoho-oauthtoken {token}',
37
- 'orgId': f'{org_id}',
38
36
  'Content-Type': 'application/json'
39
37
  }
40
38
  return headers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-zoho
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: ZOHO wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='brynq_sdk_zoho',
5
- version='1.0.2',
5
+ version='1.0.3',
6
6
  description='ZOHO wrapper from BrynQ',
7
7
  long_description='ZOHO wrapper from BrynQ',
8
8
  author='BrynQ',
File without changes