From b5449640be2957e8624ce5044e90fc75d18be6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E6=9C=AC=20=E7=A5=90=E5=B8=8C?= Date: Thu, 9 Nov 2023 02:38:17 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20561:=20=E8=AA=8D=E8=A8=BC?= =?UTF-8?q?=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AEURL=E3=81=AE=E6=9C=AB?= =?UTF-8?q?=E5=B0=BE=E3=81=AB"=E3=81=8C=E5=85=A5=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=A6=E4=B8=8D=E6=AD=A3=E3=81=AA=E3=83=AA=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3000: 認証メールのURLの末尾に"が入っていて不正なリンクになっている問題を修正する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3000) - 元PBI or タスクへのリンク(内容・目的などはそちらにあるはず) - 何をどう変更したか、追加したライブラリなど 認証メールの末尾にある「”」を削除し適切な認証メールに修正 - このPull Requestでの対象/対象外 - 影響範囲(他の機能にも影響があるか) ## レビューポイント - 特にレビューしてほしい箇所 修正箇所を見逃していないか 3か所修正しました。 - 軽微なものや自明なものは記載不要 - 修正範囲が大きい場合などに記載 - 全体的にや仕様を満たしているか等は本当に必要な時のみ記載 ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 https://ndstokyo.sharepoint.com/:f:/r/sites/Piranha/Shared%20Documents/General/OMDS/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88/Task3000?csf=1&web=1&e=eqMWBn ## 動作確認状況 - ローカルで確認 ## 補足 - 相談、参考資料などがあれば --- dictation_server/src/features/users/users.service.ts | 2 +- dictation_server/src/gateways/sendgrid/sendgrid.service.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dictation_server/src/features/users/users.service.ts b/dictation_server/src/features/users/users.service.ts index 66beb3c..67b36fd 100644 --- a/dictation_server/src/features/users/users.service.ts +++ b/dictation_server/src/features/users/users.service.ts @@ -416,7 +416,7 @@ export class UsersService { // TODO [Task2163] ODMS側が正式にメッセージを決めるまで仮のメール内容とする const subject = 'A temporary password has been issued.'; const text = 'temporary password: ' + ramdomPassword; - const html = `

OMDS TOP PAGE URL.

${this.appDomain}"
temporary password: ${ramdomPassword}`; + const html = `

OMDS TOP PAGE URL.

${this.appDomain}
temporary password: ${ramdomPassword}`; // メールを送信 await this.sendgridService.sendMail( diff --git a/dictation_server/src/gateways/sendgrid/sendgrid.service.ts b/dictation_server/src/gateways/sendgrid/sendgrid.service.ts index 20f68d8..6b94ddc 100644 --- a/dictation_server/src/gateways/sendgrid/sendgrid.service.ts +++ b/dictation_server/src/gateways/sendgrid/sendgrid.service.ts @@ -54,7 +54,7 @@ export class SendGridService { return { subject: 'Verify your new account', text: `The verification URL. ${this.appDomain}${path}?verify=${token}`, - html: `

The verification URL.

${this.appDomain}${path}?verify=${token}"`, + html: `

The verification URL.

${this.appDomain}${path}?verify=${token}`, }; } @@ -87,7 +87,7 @@ export class SendGridService { return { subject: 'Verify your new account', text: `The verification URL. ${this.appDomain}${path}?verify=${token}`, - html: `

The verification URL.

${this.appDomain}${path}?verify=${token}"`, + html: `

The verification URL.

${this.appDomain}${path}?verify=${token}`, }; }