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

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,