chore: changed the creator of page when duplicated (#6378)
This commit is contained in:
parent
42e928138c
commit
95175ab939
1 changed files with 2 additions and 0 deletions
|
|
@ -573,6 +573,8 @@ class PageDuplicateEndpoint(BaseAPIView):
|
|||
page.name = f"{page.name} (Copy)"
|
||||
page.description_binary = None
|
||||
page.owned_by = request.user
|
||||
page.created_by = request.user
|
||||
page.updated_by = request.user
|
||||
page.save()
|
||||
|
||||
for project_id in project_ids:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue