mirror of
https://github.com/outline/outline.git
synced 2026-12-02 17:52:07 +03:00
chore: Record templateId against doc from template
This commit is contained in:
1 parent
d8b7960063
commit
2e5f51a6dc
1 file changed
+1
@@ -734,6 +734,7 @@ router.post("documents.create", auth(), async ctx => {
|
||||
lastModifiedById: user.id,
|
||||
createdById: user.id,
|
||||
template,
|
||||
templateId: templateDocument ? templateDocument.id : undefined,
|
||||
title: templateDocument ? templateDocument.title : title,
|
||||
text: templateDocument ? templateDocument.text : text,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user