Commit 589a6434 authored by Michal Čihař's avatar Michal Čihař

Properly pass user from request

parent 511a5f86
...@@ -73,7 +73,7 @@ def translate(request, unit_id): ...@@ -73,7 +73,7 @@ def translate(request, unit_id):
unit.translation.language.code, unit.translation.language.code,
unit.get_source_plurals()[0], unit.get_source_plurals()[0],
unit, unit,
user request.user
) )
response['responseStatus'] = 200 response['responseStatus'] = 200
except Exception as exc: except Exception as exc:
......
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