fix: no such note

This commit is contained in:
Mar0xy 2023-09-23 02:50:54 +02:00
parent d0956d5657
commit 6a0aa612cc
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ export class ApNoteService {
const poll = await this.apQuestionService.extractPollFromQuestion(note, resolver).catch(() => undefined);
try {
return await this.noteEditService.edit(actor, note.id!, {
return await this.noteEditService.edit(actor, UpdatedNote.id, {
createdAt: note.published ? new Date(note.published) : null,
files,
reply,