bobbai00 commented on code in PR #3729: URL: https://github.com/apache/texera/pull/3729#discussion_r2343214591
########## core/amber/src/main/scala/edu/uci/ics/texera/web/resource/EmailTemplate.scala: ########## @@ -99,7 +99,7 @@ object EmailTemplate { def createRoleChangeTemplate(receiverEmail: String, newRole: UserRoleEnum): EmailMessage = { val subject = if (deployment.nonEmpty) Review Comment: ditto ########## core/amber/src/main/scala/edu/uci/ics/texera/web/resource/EmailTemplate.scala: ########## @@ -73,7 +69,11 @@ object EmailTemplate { |""".stripMargin EmailMessage(subject = subject, content = content, receiver = receiverEmail) } else { - val subject = "Account Request Received" + val subject = + if (deployment.nonEmpty) Review Comment: you should be able to further simplify this logic as one line -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@texera.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org