diff --git a/react-ui/src/components/freeagents/TextRows.js b/react-ui/src/components/freeagents/TextRows.js index 01fc6d515..38540fbcd 100644 --- a/react-ui/src/components/freeagents/TextRows.js +++ b/react-ui/src/components/freeagents/TextRows.js @@ -17,7 +17,9 @@ const TextRows = ({ freeAgent }) => { - {activity} + + {activity} + )} @@ -31,7 +33,9 @@ const TextRows = ({ freeAgent }) => { - {past_experience} + + {past_experience} + )} @@ -45,7 +49,9 @@ const TextRows = ({ freeAgent }) => { - {looking_for} + + {looking_for} + )} diff --git a/schemas/fapost.js b/schemas/fapost.js index 1cb56f3aa..8f8030525 100644 --- a/schemas/fapost.js +++ b/schemas/fapost.js @@ -151,12 +151,7 @@ const resolvers = { }) args.user = ctx.user - await sendFAPostToDiscord(args).catch(error => { - throw new UserInputError( - "problem with Discord webhook. This means the post was added to the database but didn't get posted on Discord because: " + - error.error - ) - }) + sendFAPostToDiscord(args) return true },