From 4af28cf12c47e65d89d53c25987a1f4201a30fe4 Mon Sep 17 00:00:00 2001
From: matbub <53072963+hi-matbub@users.noreply.github.com>
Date: Mon, 1 Jun 2020 06:07:24 -0700
Subject: [PATCH] fix(client): update report user verbiage and link (#38954)
---
api-server/server/boot/user.js | 2 +-
client/src/components/profile/Profile.js | 4 +++-
client/src/components/profile/Profile.test.js | 2 +-
.../src/components/profile/__snapshots__/Profile.test.js.snap | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/api-server/server/boot/user.js b/api-server/server/boot/user.js
index 3e6e87f73a..a0c39f5d02 100644
--- a/api-server/server/boot/user.js
+++ b/api-server/server/boot/user.js
@@ -216,7 +216,7 @@ function createPostReportUserProfile(app) {
return Email.send$(
{
type: 'email',
- to: 'team@freecodecamp.org',
+ to: 'support@freecodecamp.org',
cc: user.email,
from: 'team@freecodecamp.org',
subject: `Abuse Report : Reporting ${username}'s profile.`,
diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js
index ff89973bf6..82071e7a1a 100644
--- a/client/src/components/profile/Profile.js
+++ b/client/src/components/profile/Profile.js
@@ -196,7 +196,9 @@ function Profile({ user, isSessionUser, navigate }) {
{!isLocked || isSessionUser ? renderProfile(user) : null}
{isSessionUser ? null : (