diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 15:52:42 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-07 15:52:42 +0900 |
| commit | 81d19195cf2e913e9eaa2bef2ad4414e0c384be9 (patch) | |
| tree | 688da909686fc88549aceb6e75eb6523a08c719f /src/remote | |
| parent | oops (diff) | |
| download | sharkey-81d19195cf2e913e9eaa2bef2ad4414e0c384be9.tar.gz sharkey-81d19195cf2e913e9eaa2bef2ad4414e0c384be9.tar.bz2 sharkey-81d19195cf2e913e9eaa2bef2ad4414e0c384be9.zip | |
Add todo
Diffstat (limited to 'src/remote')
| -rw-r--r-- | src/remote/activitypub/act/create/note.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote/activitypub/act/create/note.ts b/src/remote/activitypub/act/create/note.ts index c40facea43..364fddfe0b 100644 --- a/src/remote/activitypub/act/create/note.ts +++ b/src/remote/activitypub/act/create/note.ts @@ -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); |