Skip to content

Commit

Permalink
chore: changed the creator of page when duplicated (#6378)
Browse files Browse the repository at this point in the history
  • Loading branch information
NarayanBavisetti authored Jan 10, 2025
1 parent 42e9281 commit 95175ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apiserver/plane/app/views/page/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ def post(self, request, slug, project_id, page_id):
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:
Expand Down

0 comments on commit 95175ab

Please sign in to comment.