Skip to content

Commit

Permalink
Use the correct user
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 18, 2024
1 parent 3fbbf6c commit 07b6b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def pofile(request, project, language_code, domain):
catalog.save()

Event.objects.create(
user=request.user,
user=user,
action=(
Event.Action.CATALOG_CREATED
if created
Expand All @@ -189,7 +189,7 @@ def pofile(request, project, language_code, domain):
language_code=language_code, domain=domain
).first():
Event.objects.create(
user=request.user,
user=user,
action=Event.Action.CATALOG_DELETED,
catalog=catalog,
)
Expand Down

0 comments on commit 07b6b49

Please sign in to comment.