Skip to content

Commit

Permalink
Merge pull request #53 from PROCOLLAB-github/dev
Browse files Browse the repository at this point in the history
fixed achievements for users #3
  • Loading branch information
VeryBigSad authored Nov 19, 2022
2 parents f945ad1 + 76f8c50 commit 367b060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def put(self, request, pk):
achievement_id = i.get("id")
if achievement_id is None:
UserAchievement.objects.create(
title=request.data["title"],
status=request.data["status"],
title=i["title"],
status=i["status"],
user_id=pk,
)
continue
Expand Down

0 comments on commit 367b060

Please sign in to comment.