mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[mastodon-client] Return edit history in correct order
This commit is contained in:
parent
5e61be286c
commit
0616edffa8
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ export class NoteHelpers {
|
||||||
media_attachments: files.then(files => files.length > 0 ? files.map((f) => FileConverter.encode(f)) : [])
|
media_attachments: files.then(files => files.length > 0 ? files.map((f) => FileConverter.encode(f)) : [])
|
||||||
};
|
};
|
||||||
lastDate = edit.updatedAt;
|
lastDate = edit.updatedAt;
|
||||||
history.unshift(awaitAll(item));
|
history.push(awaitAll(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
return Promise.all(history);
|
return Promise.all(history);
|
||||||
|
|
Loading…
Reference in a new issue