From ba961891b9d8e771c150eb6658fd6abe2b7d20b6 Mon Sep 17 00:00:00 2001 From: Jeff Lai Date: Wed, 23 Mar 2016 17:25:13 +0800 Subject: [PATCH] Add access_token to message send with url --- lib/dingtalk/api/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dingtalk/api/message.rb b/lib/dingtalk/api/message.rb index ebc6cc6..eb6ff3f 100644 --- a/lib/dingtalk/api/message.rb +++ b/lib/dingtalk/api/message.rb @@ -2,7 +2,7 @@ module Dingtalk module Api class Message < Base def send_with(params) - http_post('send', params) + http_post("send?access_token=#{access_token}", params) end private -- libgit2 0.21.0