Skip to content

Commit 934c836

Browse files
Merge pull request #106 from ashtonsyed/patch-2
Update applications.py for UUID bug
2 parents c6b9790 + bf72312 commit 934c836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veracode_api_py/applications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _create_or_update(self,method,app_name: str, business_criticality, descripti
9494
app_def.update({'teams': team_list})
9595

9696
if business_unit != None:
97-
bu = {'business_unit': {'guid': business_unit}}
97+
bu = {'business_unit': {'guid': str(business_unit)}}
9898
app_def.update(bu)
9999

100100
if (custom_fields != None):

0 commit comments

Comments
 (0)