brynq-sdk-monday 2.1.1__tar.gz → 2.1.2__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_monday
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: Monday.com wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -120,10 +120,15 @@ class UploadTracket(BrynQ):
120
120
  "item": data['itemId'],
121
121
  "user": data['userId']
122
122
  }
123
+
124
+ if 'worklogCategory' in data:
125
+ base_body["customFields"] = {
126
+ "category": data['worklogCategory']
127
+ }
128
+
123
129
  fields_to_update = {}
124
130
 
125
131
  # Add fields that you want to update a dict (adding to body itself is too much text)
126
- fields_to_update.update({"category": data['worklogCategory']}) if 'worklogCategory' in data else fields_to_update
127
132
  fields_to_update.update({"description": data['description']}) if 'description' in data else fields_to_update
128
133
  fields_to_update.update({"billableMinutes": data['worklogBillableMinutes']}) if 'worklogBillableMinutes' in data else fields_to_update
129
134
  fields_to_update.update({"team": data['team']}) if 'team' in data else fields_to_update
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-monday
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: Monday.com wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
2
2
 
3
3
  setup(
4
4
  name='brynq_sdk_monday',
5
- version='2.1.1',
5
+ version='2.1.2',
6
6
  description='Monday.com wrapper from BrynQ',
7
7
  long_description='Monday.com wrapper from BrynQ',
8
8
  author='BrynQ',