mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Add todo
This commit is contained in:
parent
eaffa118b4
commit
8e8a9175ad
@ -40,6 +40,7 @@ export default async function createNote(resolver: Resolver, actor: IRemoteUser,
|
||||
const media = [];
|
||||
if ('attachment' in note && note.attachment != null) {
|
||||
// TODO: attachmentは必ずしもImageではない
|
||||
// TODO: attachmentは必ずしも配列ではない
|
||||
// TODO: ループの中でawaitはすべきでない
|
||||
note.attachment.forEach(async media => {
|
||||
const created = await createImage(resolver, note.actor, media);
|
||||
|
Loading…
Reference in New Issue
Block a user