From 5f3d6415354e0a3dcd69134e050238b932c208bb Mon Sep 17 00:00:00 2001
From: ryadav88 <ryadav88@gmail.com>
Date: Mon, 28 Mar 2016 15:22:32 -0700
Subject: [PATCH] image-url

---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 30c4d75..0644c76 100644
--- a/index.js
+++ b/index.js
@@ -34,7 +34,7 @@ app.post('/post', function(req, res){
 
       var body = {
         response_type: "in_channel",
-        pretext: icon_url,
+        image_url: icon_url,
         text: "Temperature: " + first_url + "\n" + "Condition: " + weatherC
       };
 
-- 
GitLab