fix: set owner and modified_by for rq job
This commit is contained in:
parent
9c28368213
commit
8a4c348808
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ def serialize_job(job: Job) -> frappe._dict:
|
|||
creation=convert_utc_to_user_timezone(job.created_at),
|
||||
modified=convert_utc_to_user_timezone(modified),
|
||||
_comment_count=0,
|
||||
owner=job.kwargs.get("user"),
|
||||
modified_by=job.kwargs.get("user"),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue