Skip to content

Commit 0d2a3d4

Browse files
remove _pop_tags from FindingTemplate Create
1 parent 609f903 commit 0d2a3d4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

dojo/api_v2/serializers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,6 @@ class Meta:
19471947
exclude = ("cve",)
19481948

19491949
def create(self, validated_data):
1950-
to_be_tagged, validated_data = self._pop_tags(validated_data)
19511950

19521951
# Save vulnerability ids and pop them
19531952
if "vulnerability_id_template_set" in validated_data:
@@ -1969,7 +1968,6 @@ def create(self, validated_data):
19691968
)
19701969
new_finding_template.save()
19711970

1972-
self._save_tags(new_finding_template, to_be_tagged)
19731971
return new_finding_template
19741972

19751973
def update(self, instance, validated_data):

0 commit comments

Comments
 (0)