diff --git a/src/services/testCsvEmail.js b/src/services/testCsvEmail.js index 9a7c902..ba79b38 100644 --- a/src/services/testCsvEmail.js +++ b/src/services/testCsvEmail.js @@ -17,12 +17,11 @@ const ses = new AWS.SES({ apiVersion: '2010-12-01' }); /** * 특정 사용자에게 CSV 테스트 이메일 발송 - * @param {object|null} user 인증 정보. - * @param {{ testEmail?: string, userId?: string }} body 요청 본문. + * @param {{ testEmail?: string, userId?: string }} reqDto 요청 본문. * @returns {Promise} 응답 DTO. */ -export default async function testCsvEmail(user, body = {}) { - const { testEmail, userId } = body; +export default async function testCsvEmail(reqDto = {}) { + const { testEmail, userId } = reqDto; try { serviceLogger.info({