Skip to content

Commit de1e7df

Browse files
fix guid conversion error for app updates
1 parent 934c836 commit de1e7df

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
@@ -84,7 +84,7 @@ def _create_or_update(self,method,app_name: str, business_criticality, descripti
8484
app_def.update({ 'tags': tags })
8585

8686
if policy_guid:
87-
app_def.update({"policies": [{'guid': policy_guid}]})
87+
app_def.update({"policies": [{'guid': str(policy_guid)}]})
8888

8989
if len(teams) > 0:
9090
# optionally pass a list of teams to add to the application profile

0 commit comments

Comments
 (0)