Skip to content

Commit

Permalink
Merge pull request #2190 from gtech-mulearn/dev-server
Browse files Browse the repository at this point in the history
Dev server
  • Loading branch information
jelanmathewjames authored Jul 30, 2024
2 parents 9e86b86 + ccce91f commit 5a74d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/launchpad/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,11 @@ def get_rank(self, obj):
class TaskCompletedLeaderBoardSerializer(serializers.ModelSerializer):
rank = serializers.IntegerField()
karma = serializers.IntegerField()
is_public = serializers.BooleanField(source='user_settings_user.is_public',default=False)

class Meta:
model = User
fields = ("muid", "rank", "full_name", "karma")
fields = ("muid", "is_public", "rank", "full_name", "karma")


class LaunchpadParticipantsSerializer(serializers.ModelSerializer):
Expand Down

0 comments on commit 5a74d3f

Please sign in to comment.