diff --git a/app/emoji/serializers/reaction.py b/app/emoji/serializers/reaction.py index c93bd0f20..38ba7b008 100644 --- a/app/emoji/serializers/reaction.py +++ b/app/emoji/serializers/reaction.py @@ -11,16 +11,3 @@ class ReactionSerializer(BaseModelSerializer): class Meta: model = Reaction fields = ("reaction_id", "user", "emoji", "content_type", "object_id") - - -# def create(self, validated_data): -# content_type_model = validated_data.pop("content_type.model") -# object_id = validated_data.pop("object_id") -# -# reaction = Reaction.objects.create( -# content_type=content_type_model, -# object_id=object_id, -# **validated_data -# ) - -# return reaction