From 9a4af66e71a388ab02c7d6696a85c1c22d267eeb Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Tue, 31 Oct 2017 12:43:49 +0200 Subject: [PATCH] Fix compile error caused by previous merge --- src/clj/commiteth/routes/redirect.clj | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/clj/commiteth/routes/redirect.clj b/src/clj/commiteth/routes/redirect.clj index 434f5d1..7bd4fa5 100644 --- a/src/clj/commiteth/routes/redirect.clj +++ b/src/clj/commiteth/routes/redirect.clj @@ -48,13 +48,10 @@ user (assoc (get-or-create-user access-token) token-key access-token)] (when new-user? - (hubspot/create-hubspot-contact (:email user) - (:name user "") - (:login user))) (try (hubspot/create-hubspot-contact (:email user) - (:name user "") - (:login user)) + (:name user "") + (:login user)) (catch Throwable t (log/error "Failed to create hubspot contact" t)))) (assoc (found (str (env :server-address) "/app"))