diff --git a/package-lock.json b/package-lock.json index 76a3cad574..74b2e8e7db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1271,8 +1271,9 @@ } }, "node_modules/@babel/core": { - "version": "7.25.7", - "license": "MIT", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", + "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.25.7", @@ -1280,10 +1281,10 @@ "@babel/helper-compilation-targets": "^7.25.7", "@babel/helper-module-transforms": "^7.25.7", "@babel/helpers": "^7.25.7", - "@babel/parser": "^7.25.7", + "@babel/parser": "^7.25.8", "@babel/template": "^7.25.7", "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7", + "@babel/types": "^7.25.8", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -1563,10 +1564,11 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.7", - "license": "MIT", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.8.tgz", + "integrity": "sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==", "dependencies": { - "@babel/types": "^7.25.7" + "@babel/types": "^7.25.8" }, "bin": { "parser": "bin/babel-parser.js" @@ -3117,8 +3119,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.7", - "license": "MIT", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.8.tgz", + "integrity": "sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==", "dependencies": { "@babel/helper-string-parser": "^7.25.7", "@babel/helper-validator-identifier": "^7.25.7", diff --git a/packages/app-api/src/db/playerOnGameserver.ts b/packages/app-api/src/db/playerOnGameserver.ts index febe04e0df..f7826e3699 100644 --- a/packages/app-api/src/db/playerOnGameserver.ts +++ b/packages/app-api/src/db/playerOnGameserver.ts @@ -120,7 +120,9 @@ export class PlayerOnGameServerRepo extends ITakaroRepo< async findOne(id: string): Promise { const { query } = await this.getModel(); - const data = (await query.findById(id)) as unknown as PlayerOnGameserverOutputWithRolesDTO; + const data = (await query + .findById(id) + .withGraphFetched('player')) as unknown as PlayerOnGameserverOutputWithRolesDTO; if (!data) { throw new errors.NotFoundError();