From b55c8f760e5d7454868885d2d2a8fc676a753093 Mon Sep 17 00:00:00 2001 From: Devon Bleibtrey Date: Tue, 3 Sep 2019 20:31:46 -0400 Subject: [PATCH] Updating twitter link --- app/components/coaching.js | 6 ++++-- app/templates/application.hbs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/components/coaching.js b/app/components/coaching.js index bd8934f..dc89e11 100644 --- a/app/components/coaching.js +++ b/app/components/coaching.js @@ -12,13 +12,15 @@ export default Component.extend({ }, type: "POST", url: "https://api.nextrelease.io/app/release-coach/", + dataType:'json', data: JSON.stringify({ - email: console.log(this.get('email')), - markdown: console.log(this.get('textarea')), + email: this.get('email'), + markdown: this.get('textarea'), }) }).then(function (resp) { this.set('received_success', true); }).catch(function (error) { + console.log(error); this.set('received_error', true); }); } diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 2200998..f0fe826 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -52,7 +52,7 @@ Like it? Share it!

- {{fa-icon "twitter" prefix="fab" size="3x"}} + {{fa-icon "twitter" prefix="fab" size="3x"}}