chore: changed the creator of page when duplicated (#6378)

This commit is contained in:
Bavisetti Narayan
2025-01-10 18:08:23 +05:30
committed by GitHub
parent 42e928138c
commit 95175ab939

View File

@@ -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: