mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 02:40:39 +09:00
fix(issues): address document review comments
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
ab41fdbaee
commit
eb0a74384e
4 changed files with 55 additions and 15 deletions
|
|
@ -53,7 +53,7 @@ function mapIssueDocumentRow(
|
|||
title: row.title,
|
||||
format: row.format,
|
||||
...(includeBody ? { body: row.latestBody } : {}),
|
||||
latestRevisionId: row.latestRevisionId ?? "",
|
||||
latestRevisionId: row.latestRevisionId ?? null,
|
||||
latestRevisionNumber: row.latestRevisionNumber,
|
||||
createdByAgentId: row.createdByAgentId,
|
||||
createdByUserId: row.createdByUserId,
|
||||
|
|
@ -419,7 +419,7 @@ export function documentService(db: Db) {
|
|||
return {
|
||||
...existing,
|
||||
body: existing.latestBody,
|
||||
latestRevisionId: existing.latestRevisionId ?? "",
|
||||
latestRevisionId: existing.latestRevisionId ?? null,
|
||||
};
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue