mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 21:40:45 +01:00
fix: relation error
This commit is contained in:
parent
16130fae60
commit
d3b9e82192
1 changed files with 2 additions and 2 deletions
|
@ -365,8 +365,8 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||
});
|
||||
|
||||
const note = new MiNote({
|
||||
id: this.idService.genId(oldnote.createdAt!),
|
||||
//createdAt: new Date(oldnote.createdAt!),
|
||||
id: this.idService.genId(new Date(oldnote.createdAt!)),
|
||||
createdAt: new Date(oldnote.createdAt!),
|
||||
updatedAt: data.updatedAt ? data.updatedAt : new Date(),
|
||||
fileIds: data.files ? data.files.map(file => file.id) : [],
|
||||
replyId: data.reply ? data.reply.id : null,
|
||||
|
|
Loading…
Reference in a new issue