fix notes/versions endpoint
This commit is contained in:
parent
c9f2554b2f
commit
41d62e4534
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
editArray.push({
|
editArray.push({
|
||||||
oldDate: (edit.oldDate ?? edit.updatedAt).toISOString(),
|
oldDate: (edit.oldDate ?? edit.updatedAt).toISOString(),
|
||||||
updatedAt: edit.updatedAt.toISOString(),
|
updatedAt: edit.updatedAt.toISOString(),
|
||||||
text: edit.oldText ?? edit.newText ?? null,
|
text: edit.text ?? null,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue