mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 13:33:08 +02:00
Add todo
This commit is contained in:
parent
c77013ab3e
commit
81d19195cf
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ export default async function createNote(resolver: Resolver, actor: IRemoteUser,
|
||||||
const media = [];
|
const media = [];
|
||||||
if ('attachment' in note && note.attachment != null) {
|
if ('attachment' in note && note.attachment != null) {
|
||||||
// TODO: attachmentは必ずしもImageではない
|
// TODO: attachmentは必ずしもImageではない
|
||||||
|
// TODO: attachmentは必ずしも配列ではない
|
||||||
// TODO: ループの中でawaitはすべきでない
|
// TODO: ループの中でawaitはすべきでない
|
||||||
note.attachment.forEach(async media => {
|
note.attachment.forEach(async media => {
|
||||||
const created = await createImage(resolver, note.actor, media);
|
const created = await createImage(resolver, note.actor, media);
|
||||||
|
|
Loading…
Reference in a new issue