From b5dca4522000554a9f2b2230f304b17f05429a4b Mon Sep 17 00:00:00 2001 From: GrapeApple0 <84321396+GrapeApple0@users.noreply.github.com> Date: Sun, 16 Jun 2024 00:45:39 +0000 Subject: [PATCH] =?UTF-8?q?wip:=20return=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/activitypub/models/ApNoteService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 98795c42d9..29caf720b0 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -502,7 +502,7 @@ export class ApNoteService { const poll = await this.apQuestionService.extractPollFromQuestion(note, resolver).catch(() => undefined); - await this.noteEditService.edit(actor, targetNote.id, { + return await this.noteEditService.edit(actor, targetNote.id, { publishedAt: note.updated ? new Date(note.updated) : new Date(), files, reply,