Commit 4905db4e authored by Fernando Ribeiro's avatar Fernando Ribeiro
Browse files

Merge branch 'develop' into 'master'

Fix: Update AnswerNotificationSerializer to solve notifications bug

See merge request !1
parents 98bf4869 de755032
...@@ -16,6 +16,7 @@ class AnswerNotificationSerializer(serializers.ModelSerializer): ...@@ -16,6 +16,7 @@ class AnswerNotificationSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = AnswerNotification model = AnswerNotification
depth = 1 depth = 1
fields = '__all__'
def get_activity_url(self, obj): def get_activity_url(self, obj):
course_slug = obj.activity.unit.lesson.course.slug course_slug = obj.activity.unit.lesson.course.slug
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment