diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2024-01-31 15:45:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 15:45:35 +0900 |
| commit | 2db5b61616194b33468a057489e7c1d4597f5cc8 (patch) | |
| tree | 6d6df9532c739b85c4daa9068a6e8f4b501150f8 /packages/backend/src/server/api/endpoints/bubble-game | |
| parent | refactor(frontend): global/router -> router (diff) | |
| download | sharkey-2db5b61616194b33468a057489e7c1d4597f5cc8.tar.gz sharkey-2db5b61616194b33468a057489e7c1d4597f5cc8.tar.bz2 sharkey-2db5b61616194b33468a057489e7c1d4597f5cc8.zip | |
refactor(backend): User関連のスキーマ/型の指定を強くする (#12808)
* refactor(backend): User関連のスキーマ/型の指定を強くする
* refactor(backend): `pack()`の引数にスキーマを指定するように
* chore: fix ci
* fix: 変更漏れ
* fix ci
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/backend/src/server/api/endpoints/bubble-game')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/bubble-game/ranking.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts b/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts index 9c057760ca..731bcc5b65 100644 --- a/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts +++ b/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts @@ -61,7 +61,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- relations: ['user'], }); - const users = await this.userEntityService.packMany(records.map(r => r.user!), null, { detail: false }); + const users = await this.userEntityService.packMany(records.map(r => r.user!), null); return records.map(r => ({ id: r.id, |