Skip to content

Commit

Permalink
Fix JSON error
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo committed Oct 25, 2024
1 parent 9509d06 commit df43474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def user_data(request):
"manager_for_locales": list(
user.managed_locales.values_list("code", flat=True)
),
"pm_for_projects": user.contact_for.all(),
"pm_for_projects": [p.slug for p in user.contact_for.all()],
"translator_for_locales": list(
user.translated_locales.values_list("code", flat=True)
),
Expand Down

0 comments on commit df43474

Please sign in to comment.