From 8d36911f9026253cac8f2f97aad3ac3928cb6c6c Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 27 May 2023 17:28:47 +0000 Subject: [PATCH] wip --- .../src/server/api/endpoints/admin/roles/users.ts | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/admin/roles/users.ts b/packages/backend/src/server/api/endpoints/admin/roles/users.ts index 0f9a7ffa9e..0c2dca2496 100644 --- a/packages/backend/src/server/api/endpoints/admin/roles/users.ts +++ b/packages/backend/src/server/api/endpoints/admin/roles/users.ts @@ -43,7 +43,7 @@ export default class extends Endpoint<'admin/roles/users'> { .take(ps.limit) .getMany(); - return await Promise.all(assigns.map(async (assign): Promise> => ({ + return await Promise.all>[]>(assigns.map(async (assign): Promise> => ({ id: assign.id, createdAt: assign.createdAt, user: await this.userEntityService.pack(assign.user!, me, { detail: true }), diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0518eba9b3..0033267f3b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -626,7 +626,7 @@ importers: version: 29.5.0 schema-type: specifier: github:misskey-dev/schema-type - version: github.com/misskey-dev/schema-type/dc122886fd61b9a457111a30673ce31ecace31be(typescript@5.0.4) + version: github.com/misskey-dev/schema-type/ecfe907fb71f89eb0e41ed4449246ccd8366a260(typescript@5.0.4) packages/frontend: dependencies: @@ -1026,7 +1026,7 @@ importers: version: 4.4.0 schema-type: specifier: github:misskey-dev/schema-type - version: github.com/misskey-dev/schema-type/dc122886fd61b9a457111a30673ce31ecace31be(typescript@5.0.4) + version: github.com/misskey-dev/schema-type/ecfe907fb71f89eb0e41ed4449246ccd8366a260(typescript@5.0.4) ts-essentials: specifier: ^9.3.2 version: 9.3.2(typescript@5.0.4) @@ -20518,9 +20518,9 @@ packages: version: 0.0.0 dev: false - github.com/misskey-dev/schema-type/dc122886fd61b9a457111a30673ce31ecace31be(typescript@5.0.4): - resolution: {tarball: https://codeload.github.com/misskey-dev/schema-type/tar.gz/dc122886fd61b9a457111a30673ce31ecace31be} - id: github.com/misskey-dev/schema-type/dc122886fd61b9a457111a30673ce31ecace31be + github.com/misskey-dev/schema-type/ecfe907fb71f89eb0e41ed4449246ccd8366a260(typescript@5.0.4): + resolution: {tarball: https://codeload.github.com/misskey-dev/schema-type/tar.gz/ecfe907fb71f89eb0e41ed4449246ccd8366a260} + id: github.com/misskey-dev/schema-type/ecfe907fb71f89eb0e41ed4449246ccd8366a260 name: schema-type version: 1.0.0 dependencies: