Add updated on NoteCreateService
This commit is contained in:
parent
de8c07bc10
commit
a33b5ca3d6
|
|
@ -126,6 +126,7 @@ type MinimumUser = {
|
|||
|
||||
type Option = {
|
||||
createdAt?: Date | null;
|
||||
updatedAt?: Date | null;
|
||||
name?: string | null;
|
||||
text?: string | null;
|
||||
reply?: MiNote | null;
|
||||
|
|
|
|||
|
|
@ -274,6 +274,7 @@ export class ApNoteService {
|
|||
try {
|
||||
return await this.noteCreateService.create(actor, {
|
||||
createdAt: note.published ? new Date(note.published) : null,
|
||||
updatedAt: note.updated ? new Date(note.updated) : null,
|
||||
files,
|
||||
reply,
|
||||
renote: quote,
|
||||
|
|
|
|||
Loading…
Reference in New Issue