1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 21:26:33 +02:00
This commit is contained in:
syuilo
2025-05-07 16:10:43 +09:00
parent 86996d9563
commit 5603cb7e22
3 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ const storageProvider: StorageProvider = {
});
},
cloudGets: async (ctx) => {
cloudGetBulk: async (ctx) => {
// TODO: 値の取得を1つのリクエストで済ませたい(バックエンド側でAPIの新設が必要)
const fetchings = ctx.needs.map(need => storageProvider.cloudGet(need).then(res => [need.key, res] as const));
const cloudDatas = await Promise.all(fetchings);