mirror of
https://github.com/makeplane/plane.git
synced 2025-12-24 23:59:40 +01:00
chore: changed the creator of page when duplicated (#6378)
This commit is contained in:
committed by
GitHub
parent
42e928138c
commit
95175ab939
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user