Skip to content

Mentorship decline email says the mentor has provided a reason even if they don't #237

@moshfeu

Description

@moshfeu

When mentors decline a request they allowed to not specify the reason.

The issue

Currently, even if they didn't leave a reason, the email says

They provided the reason below, which we hope will help you find your next mentor:

The solution

Don't include the following part if the reason is empty

<p>
They provided the reason below, which we hope will help you find your next
mentor:
</p>
<pre><%= reason %></pre>

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions