1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Add missing super call in NotificationTemplateSerializer

This commit is contained in:
Aaron Tan 2017-08-15 11:10:55 -04:00
parent 5ad29c9081
commit fd8da1e7ce

View File

@ -3403,7 +3403,7 @@ class NotificationTemplateSerializer(BaseSerializer):
type_field_error[1]))
if error_list:
raise serializers.ValidationError(error_list)
return attrs
return super(NotificationTemplateSerializer, self).validate(attrs)
class NotificationSerializer(BaseSerializer):