Skip to content
Snippets Groups Projects
Commit 0ecbafe5 authored by syuilo's avatar syuilo
Browse files

Add todos

parent 9c15c94f
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@ async function createNote(resolver: Resolver, actor: IRemoteUser, note) {
const media = [];
if ('attachment' in note && note.attachment != null) {
// TODO: attachmentは必ずしもImageではない
// TODO: ループの中でawaitはすべきでない
note.attachment.forEach(async media => {
const created = await createImage(resolver, note.actor, media);
media.push(created);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment