diff --git a/dictation_server/src/features/accounts/accounts.controller.ts b/dictation_server/src/features/accounts/accounts.controller.ts index 5750071..e8a8ecd 100644 --- a/dictation_server/src/features/accounts/accounts.controller.ts +++ b/dictation_server/src/features/accounts/accounts.controller.ts @@ -141,7 +141,7 @@ export class AccountsController { ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); await this.accountService.createAccount( @@ -1102,7 +1102,7 @@ export class AccountsController { ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); return await this.accountService.getDealers(context); @@ -1984,7 +1984,7 @@ export class AccountsController { HttpStatus.INTERNAL_SERVER_ERROR, ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); // IDトークンの検証 diff --git a/dictation_server/src/features/auth/auth.controller.ts b/dictation_server/src/features/auth/auth.controller.ts index a243192..09763fc 100644 --- a/dictation_server/src/features/auth/auth.controller.ts +++ b/dictation_server/src/features/auth/auth.controller.ts @@ -86,7 +86,7 @@ export class AuthController { ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const idToken = await this.authService.getVerifiedIdToken( @@ -190,7 +190,7 @@ export class AuthController { ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const accessToken = await this.authService.generateAccessToken( @@ -272,7 +272,7 @@ export class AuthController { } const { userId } = decodedAccessToken as AccessToken; - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const refreshToken = await this.authService.generateDelegationRefreshToken( @@ -345,7 +345,7 @@ export class AuthController { } const { userId, delegateUserId } = decodedRefreshToken as RefreshToken; - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const accessToken = await this.authService.updateDelegationAccessToken( diff --git a/dictation_server/src/features/terms/terms.controller.ts b/dictation_server/src/features/terms/terms.controller.ts index 6c9e8ac..5d668a7 100644 --- a/dictation_server/src/features/terms/terms.controller.ts +++ b/dictation_server/src/features/terms/terms.controller.ts @@ -51,7 +51,7 @@ export class TermsController { HttpStatus.INTERNAL_SERVER_ERROR, ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const termsInfo = await this.termsService.getTermsInfo(context); diff --git a/dictation_server/src/features/users/users.controller.ts b/dictation_server/src/features/users/users.controller.ts index e854da2..036e609 100644 --- a/dictation_server/src/features/users/users.controller.ts +++ b/dictation_server/src/features/users/users.controller.ts @@ -101,7 +101,7 @@ export class UsersController { HttpStatus.INTERNAL_SERVER_ERROR, ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); await this.usersService.confirmUser(context, body.token); @@ -144,7 +144,7 @@ export class UsersController { HttpStatus.INTERNAL_SERVER_ERROR, ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); await this.usersService.confirmUserAndInitPassword(context, body.token); return {}; @@ -833,7 +833,7 @@ export class UsersController { HttpStatus.INTERNAL_SERVER_ERROR, ); } - const context = makeContext('anonymous', ip, requestId); + const context = makeContext('anonymous', requestId); this.logger.log(`[${context.getTrackingId()}] ip : ${ip}`); const verifiedIdToken = await this.authService.getVerifiedIdToken(